Skip to content

//sorisdk/com.iplateia.sorisdk/PendingActivityRequest

PendingActivityRequest

data class PendingActivityRequest(val materialId: String, val timestamp: Long = System.currentTimeMillis())

Data class representing a pending activity request that failed due to network unavailability.

This class holds the essential information needed to retry a failed postActivity request when network connectivity is restored.

Since

4.3.2

See also

PendingRequestManager

Constructors

PendingActivityRequest[androidJvm]
constructor(materialId: String, timestamp: Long = System.currentTimeMillis())
Creates a new pending activity request with the current timestamp

Properties

NameSummary
materialId[androidJvm]
val materialId: String
The unique identifier of the material/campaign to be posted
timestamp[androidJvm]
val timestamp: Long
The time when this request was initially queued (in milliseconds since epoch)