Skip to main content
Version: 0.10.x

Interface: OdinConnectionStateChangedEventPayload

The payload for the ConnectionStateChanged event.

Extends​

Properties​

event​

event: keyof OdinEvents

The name of the event that was fired (see keys of OdinEvents for possible values).

Inherited from​

OdinEventPayload.event

Defined in​

odin.room.d.ts:89


reason​

reason: OdinConnectionStateChangeReason

The error code if the connection state is Error.

Defined in​

odin.room.d.ts:209


state​

state: OdinConnectionState

The new connection state of the room.

Defined in​

odin.room.d.ts:204


tag​

tag: number

An internal integer representing the type of the event. This is mainly used internally for testing purposes.

Inherited from​

OdinEventPayload.tag

Defined in​

odin.room.d.ts:94