Show / Hide Table of Contents

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.

Inheritance
object
PlayURPlugin.InProgressAction
Namespace: PlayUR
Assembly: PlayUR.dll
Syntax
public class PlayURPlugin.InProgressAction

Fields

| Improve this Doc View Source

action

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 Source

AddColumn(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.

| Improve this Doc View Source

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

WebUtility.HtmlEncode
.
bool debugOutput

Optionally debug to the Unity console a bunch of information about how the request occurred.

bool waitForPendingActions
| Improve this Doc View Source

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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX