RecoveryRecord

data class RecoveryRecord(val roomId: String, val cid: String, val reconnectToken: String, val lastEpoch: Long?, val sessionStartTs: Long, val expiresAtMs: Long)

Persisted call-recovery state — surfaced to host apps so a relaunched process can prompt the user to rejoin an in-flight call instead of silently dropping them on the home screen.

Backed by app-private SharedPreferences; cleared on clean leave, room_ended, or INVALID_RECONNECT_TOKEN.

Constructors

Link copied to clipboard
constructor(roomId: String, cid: String, reconnectToken: String, lastEpoch: Long?, sessionStartTs: Long, expiresAtMs: Long)

Properties

Link copied to clipboard
val cid: String
Link copied to clipboard

Unix-ms after which the host app should NOT offer the rejoin prompt. Computed as now + reconnectTokenTTLMs at write time so the SDK does not need to know server clocks.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard