PorticoReporting (class)
Namespace: PorticoXR.Reporting
Send reporting statements to the Portico platform.
Properties
| Property | Type | Summary |
|---|---|---|
| InitializedAt | double |
Time that reporting was initialized relative to app start (Time.realtimeSinceStartup). |
| SessionDuration | double |
Time in seconds since the session was initialized. |
| Module | IModule |
The currently loaded reporting module. |
Methods
| Method | Return Type | Parameters | Summary |
|---|---|---|---|
| GetStatements | Task<IReadOnlyCollection<Statement>> |
- | Retrieve all reporting statements sent for the current session. |
| Send | void |
Statement[] statements |
Send statement(s) to the Portico platform. |
| SendAsync | Task<bool> |
Statement[] statements |
Send statement(s) to the Portico platform and wait for a response. |
| SendCompletion | void |
bool complete,bool success |
Send a completion statement for the current session. |
| SendCompletion | void |
bool complete,bool success,float score |
Send a completion statement for the current session with a score. |
| SendCompletion | void |
IResult result |
Send a completion statement for the current session with a score. |
| SendCompletionAsync | Task<bool> |
bool complete,bool success |
Send a completion statement for the current session. |
| SendCompletionAsync | Task<bool> |
bool complete,bool success,float score |
Send a completion statement for the current session with a score. |
| SendCompletionAsync | Task<bool> |
IResult result |
Send a completion statement for the current session with a score. |