|
|
| BaseAnalytics (Credentials &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient, FString const &InEventName, bool bInCacheEvent, bool bInRetryOnFailed=false) |
|
| BaseAnalytics (Credentials &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, FAccelBytePlatformPtr const &InAccelBytePlatform, FString const &InEventName, bool bInCacheEvent, bool bInRetryOnFailed=false) |
|
void | SendEventData (const TSharedPtr< FJsonObject > &Payload, FVoidHandler const &OnSuccess, FErrorHandler const &OnError, FDateTime const &ClientTimestamp=FDateTime::UtcNow()) |
| template<typename T> |
| void | SendEventData (const TSharedRef< T > &Payload, FVoidHandler const &OnSuccess, FErrorHandler const &OnError, FDateTime const &ClientTimestamp=FDateTime::UtcNow()) |
| | Send/enqueue a single authorized telemetry data of an event. User should be logged in.
|
|
void | SendEventData (FAccelByteModelsTelemetryBody Payload, FVoidHandler const &OnSuccess, FErrorHandler const &OnError, FDateTime const &ClientTimestamp=FDateTime::UtcNow()) |
|
void | Flush () |
| | Flush pending telemetry events.
|
| void | SetCriticalEventList (TArray< FString > const &EventNames) |
| | Set list of event that need to be backed up on disc before sending in order to be able to recover in case of failure.
|
| void | SetImmediateEventList (TArray< FString > const &EventNames) |
| | Set list of event that need to be sent immediately without the needs to jobQueue it.
|
|
bool | EventsJsonToArray (FString &InJsonString, TArray< TelemetryBodyPtr > &OutArray) |
|
virtual FString | GetTelemetryKey () |
|
template<typename T> |
| bool | ValidateAccelByteId (FString const &Id, EAccelByteIdHypensRule HypenRule, FString const &ErrorMessage, T const &OnError) |
|
|
| GameTelemetry (Credentials &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient=nullptr, bool bInCacheEvent=true, bool bInRetryOnFailed=false) |
|
| GameTelemetry (Credentials &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, FAccelBytePlatformPtr const &InAccelBytePlatform, bool bInCacheEvent=true, bool bInRetryOnFailed=false) |
| void | SetBatchFrequency (FTimespan 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 | SetCriticalEventList (TArray< FString > const &EventNames) |
| | Set list of event that need to be backed up on disc before sending in order to be able to recover in case of failure.
|
| void | SetImmediateEventList (TArray< FString > const &EventNames) |
| | Set list of event that need to be sent immediately without the needs to jobQueue it.
|
| void | Send (FAccelByteModelsTelemetryBody TelemetryBody, FVoidHandler const &OnSuccess, FErrorHandler const &OnError) |
| | Send/enqueue a single authorized telemetry data. Server should be logged in. See DedicatedServer::LoginWithClientCredentials().
|
|
void | Flush () |
| | Flush pending telemetry events.
|
|
void | Startup () |
| | Startup module.
|
|
void | Shutdown () |
| | Shutdown module.
|
|
bool | IsCacheUpdated () |
| | Check the cache has been updated or not.
|
| void | ShouldCacheEnabled (bool bShouldCache) |
| | Set a flag to cache events.
|
|
bool | IsCacheEnabled () const |
| | Check the flag value to cache events.
|
|
| FApiBase (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient) |
|
| FApiBase (Credentials const &InCredentialsRef, Settings const &InSettingsRef, FHttpRetrySchedulerBase &InHttpRef, FAccelBytePlatformPtr const &InAccelBytePlatform) |
|
void | SetApiClient (TSharedPtr< AccelByte::FApiClient, ESPMode::ThreadSafe > const &InApiClient) |
Send telemetry data securely and the user should be logged in first.