Developer Documentation


export interface OdinConnectionStateChangedEventPayload

The payload for the ConnectionStateChanged event.


eventanyThe name of the event that was fired (see keys of OdinEvents for possible values).
reasonOdinConnectionStateChangeReasonThe error code if the connection state is Error.
stateOdinConnectionStateThe new connection state of the room.
tagnumberAn internal integer representing the type of the event. This is mainly used internally for testing purposes.