Send telemetry data securely and the game user should be logged in. More...
Public Member Functions | |
| void | SetUseCache (bool isUseCache, bool clearCurrentCache=false) |
| Enable or disable write operations to the file storage cache. The cache stores all events in JSON format as a file to be sent on service initialization (can be disabled via client config editor) or SendCachedTelemetry(callback) in case of crash, errors, or unclean game/app termination. The cache is enabled by default and can also be configured via client config editor. | |
| void | SetBatchFrequency (TimeSpan interval) |
| Set the interval of sending telemetry event to the backend. By default it sends the queued events once a minute. Should not be less than 5 seconds. | |
| void | SetBatchFrequency (int intervalSeconds) |
| Set the interval of sending telemetry event to the backend. By default it sends the queued events once a minute. Should not be less than 5 seconds. | |
| void | SetImmediateEventList (List< string > eventList) |
| Set list of event that need to be sent immediately without the needs to jobQueue it. | |
| void | Send (TelemetryBody telemetryBody, ResultCallback callback) |
| Send/enqueue a single authorized telemetry data. Server should be logged in. See DedicatedServer.LoginWithClientCredentials(). | |
| void | SendTelemetryBatch (ResultCallback callback) |
| Send telemetry data in the batch. | |
| void | SendCachedTelemetry (ResultCallback callback) |
| Send cached telemetry events. | |
Additional Inherited Members | |
| Properties inherited from AccelByte.Core.WrapperBase | |
| Utils.AccelByteIdValidator | IdValidator [get] |
Send telemetry data securely and the game user should be logged in.
|
inline |
Send/enqueue a single authorized telemetry data. Server should be logged in. See DedicatedServer.LoginWithClientCredentials().
| telemetryBody | Telemetry request with arbitrary payload. |
| callback | Returns boolean status via callback when completed. |
|
inline |
Send cached telemetry events.
| callback | Returns a result via callback when operation is done |
|
inline |
Send telemetry data in the batch.
| callback | Callback after sending telemetry data is complete |
|
inline |
Set the interval of sending telemetry event to the backend. By default it sends the queued events once a minute. Should not be less than 5 seconds.
| intervalSeconds | The seconds interval between telemetry event. |
|
inline |
Set the interval of sending telemetry event to the backend. By default it sends the queued events once a minute. Should not be less than 5 seconds.
| interval | The interval between telemetry event. |
|
inline |
Set list of event that need to be sent immediately without the needs to jobQueue it.
| eventList | String list of payload EventName. |
|
inline |
Enable or disable write operations to the file storage cache. The cache stores all events in JSON format as a file to be sent on service initialization (can be disabled via client config editor) or SendCachedTelemetry(callback) in case of crash, errors, or unclean game/app termination. The cache is enabled by default and can also be configured via client config editor.
| isUseCache | Enables or disables cache write operations. |
| clearCurrentCache | Clears currently built up cache if true. |