Class PlayURPlugin.InProgressAction
Represents an an analytics action that is being built, to be uploaded to the server later on. Useful for recording information across time/sections of the code, and then uploading it all at once.
Namespace: PlayUR
Assembly: PlayUR.dll
Syntax
public class PlayURPlugin.InProgressAction
Fields
| Improve this Doc View Sourceaction
The Analytics action to record, as defined on the PlayUR back-end.
Declaration
public Action action
Field Value
Type | Description |
---|---|
Action |
Methods
| Improve this Doc View SourceAddColumn(AnalyticsColumn, object)
Append information to this in-progress action
Declaration
public void AddColumn(AnalyticsColumn column, object value)
Parameters
Type | Name | Description |
---|---|---|
AnalyticsColumn | column | The Analytics Column name for this data as defined on the PlayUR back-end. |
object | value | The value for this column. Gets converted to a string upon upload. |
Record(bool, bool, bool)
Upload the action to the server.
Declaration
public void Record(bool HTMLencode = false, bool debugOutput = false, bool waitForPendingActions = true)
Parameters
Type | Name | Description |
---|---|---|
bool | HTMLencode | Optionally convert form items special characters using .
|
bool | debugOutput | Optionally debug to the Unity console a bunch of information about how the request occurred. |
bool | waitForPendingActions |
UpdateColumn(AnalyticsColumn, object)
Update information for this in-progress action. If the column doesn't exist, it will be created. Just an alias for AddColumn(AnalyticsColumn, object)
Declaration
public void UpdateColumn(AnalyticsColumn column, object value)
Parameters
Type | Name | Description |
---|---|---|
AnalyticsColumn | column | The Analytics Column name for this data as defined on the PlayUR back-end. |
object | value | The value for this column. Gets converted to a string upon upload. |