MoESdkEventSyncFailure

data class MoESdkEventSyncFailure(val eventType: MoESdkEventType = MoESdkEventType.EVENT_SYNC, val syncType: MoEEventSyncTriggerType, val error: MoERequestFailure, val willRetry: Boolean, val retryAttempt: Int, val batchId: String) : MoESdkEvent

Emitted when a background batch sync to MoEngage servers failed.

Author

Gowtham KK

Since

10.0.0

Constructors

Link copied to clipboard
constructor(eventType: MoESdkEventType = MoESdkEventType.EVENT_SYNC, syncType: MoEEventSyncTriggerType, error: MoERequestFailure, willRetry: Boolean, retryAttempt: Int, batchId: String)

Properties

Link copied to clipboard

The identifier of the batch that failed to sync.

Link copied to clipboard

The MoERequestFailure describing why the sync failed.

Link copied to clipboard
open override val eventType: MoESdkEventType

The category of this SDK event. Always MoESdkEventType.EVENT_SYNC.

Link copied to clipboard

Current retry attempt number (1 = first failure).

Link copied to clipboard

The trigger that initiated this sync.

Link copied to clipboard

Whether the SDK will attempt another sync for this batch.