RoomState

Where the room's connection stands, as reported by RoomEventListener.onRoomStateChanged and readable at any time from Room.roomState.

Entries

Link copied to clipboard

A join is in flight. Set the moment Room.join starts and delivered to the listener shortly after. Not delivered again while reconnecting.

Link copied to clipboard

Signalling is up. Delivered once the join completes, and again when a media outage recovers in place without a rejoin.

Link copied to clipboard

The connection dropped and the SDK is retrying. Room actions fail with 3065 until it recovers.

Link copied to clipboard

The session is over. Delivered exactly once per session, immediately before RoomEventListener.onRoomLeft — on every exit path, including being removed and the host ending the room.

Link copied to clipboard

The connection failed and will not be retried. If it was not already reconnecting the session ends here; a reconnect that gives up is followed by DISCONNECTED.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): RoomState

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.