JoinedEvent

data class JoinedEvent(val peerId: String, val participants: List<SignalingProviderParticipant>, val hostPeerId: String? = null, val maxParticipants: Int? = null, val epoch: Long? = null, val reconnectOutcome: JoinReconnectOutcome? = null, val reconnectToken: String? = null, val reconnectTokenTTLMs: Long? = null)

Constructors

Link copied to clipboard
constructor(peerId: String, participants: List<SignalingProviderParticipant>, hostPeerId: String? = null, maxParticipants: Int? = null, epoch: Long? = null, reconnectOutcome: JoinReconnectOutcome? = null, reconnectToken: String? = null, reconnectTokenTTLMs: Long? = null)

Properties

Link copied to clipboard
val epoch: Long? = null

Server room-state epoch on this transport; monotonic per room.

Link copied to clipboard
val hostPeerId: String? = null
Link copied to clipboard
val maxParticipants: Int? = null
Link copied to clipboard
Link copied to clipboard

How the server treated this join. Null means an older provider that did not surface this field.

Link copied to clipboard
val reconnectToken: String? = null

Server-issued reconnect token from joined.reconnectToken.

Link copied to clipboard

How long (ms) the server is willing to honor reconnectToken.