Loading...
Searching...
No Matches
AccelByte.Server.ServerGameTelemetry Class Reference

Send telemetry data securely and the server should be logged in. More...

Inheritance diagram for AccelByte.Server.ServerGameTelemetry:

Public Member Functions

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.

Additional Inherited Members

Properties inherited from AccelByte.Core.WrapperBase
Utils.AccelByteIdValidator IdValidator [get]

Detailed Description

Send telemetry data securely and the server should be logged in.

Member Function Documentation

◆ Send()

void AccelByte.Server.ServerGameTelemetry.Send ( TelemetryBody telemetryBody,
ResultCallback callback )
inline

Send/enqueue a single authorized telemetry data. Server should be logged in. See DedicatedServer.LoginWithClientCredentials().

Parameters
telemetryBodyTelemetry request with arbitrary payload.
callbackReturns boolean status via callback when completed.

◆ SendTelemetryBatch()

void AccelByte.Server.ServerGameTelemetry.SendTelemetryBatch ( ResultCallback callback)
inline

Send telemetry data in the batch.

Parameters
callbackCallback after sending telemetry data is complete

◆ SetBatchFrequency() [1/2]

void AccelByte.Server.ServerGameTelemetry.SetBatchFrequency ( int intervalSeconds)
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.

Parameters
intervalSecondsThe seconds interval between telemetry event.

◆ SetBatchFrequency() [2/2]

void AccelByte.Server.ServerGameTelemetry.SetBatchFrequency ( TimeSpan interval)
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.

Parameters
intervalThe interval between telemetry event.

◆ SetImmediateEventList()

void AccelByte.Server.ServerGameTelemetry.SetImmediateEventList ( List< string > eventList)
inline

Set list of event that need to be sent immediately without the needs to jobQueue it.

Parameters
eventListString list of payload EventName.