Our new developer documentation is now available. Please check it out!
OdinConnectionStateChangedEventPayload
On this page
export interface OdinConnectionStateChangedEventPayload
The payload for the ConnectionStateChanged event.
Properties
Name | Type | Description |
---|---|---|
event | any | The name of the event that was fired (see keys of OdinEvents for possible values). |
reason | OdinConnectionStateChangeReason | The error code if the connection state is Error. |
state | OdinConnectionState | The new connection state of the room. |
tag | number | An internal integer representing the type of the event. This is mainly used internally for testing purposes. |