GOG GALAXY SDK Documentation
|
Listener for the event of sending a telemetry event. More...
#include <ITelemetry.h>
Public Types | |
enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CLIENT_FORBIDDEN , FAILURE_REASON_INVALID_DATA , FAILURE_REASON_CONNECTION_FAILURE , FAILURE_REASON_NO_SAMPLING_CLASS_IN_CONFIG , FAILURE_REASON_SAMPLING_CLASS_FIELD_MISSING , FAILURE_REASON_EVENT_SAMPLED_OUT , FAILURE_REASON_SAMPLING_RESULT_ALREADY_EXIST , FAILURE_REASON_SAMPLING_INVALID_RESULT_PATH } |
The reason of a failure in sending a telemetry event. More... | |
Public Member Functions | |
virtual void | OnTelemetryEventSendSuccess (const char *eventType, uint32_t sentEventIndex)=0 |
Notification for the event of sending a telemetry event. More... | |
virtual void | OnTelemetryEventSendFailure (const char *eventType, uint32_t sentEventIndex, FailureReason failureReason)=0 |
Notification for the event of a failure in sending a telemetry event. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< TELEMETRY_EVENT_SEND_LISTENER > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of sending a telemetry event.
enum FailureReason |
The reason of a failure in sending a telemetry event.
|
pure virtual |
Notification for the event of a failure in sending a telemetry event.
[in] | eventType | The type of the event. |
[in] | sentEventIndex | The internal index of the sent event. |
[in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of sending a telemetry event.
[in] | eventType | The type of the event. |
[in] | sentEventIndex | The internal index of the sent event. |