Developer Documentation

OdinConnectionStateChangedEventPayload

export interface OdinConnectionStateChangedEventPayload

The payload for the ConnectionStateChanged event.

Properties

NameTypeDescription
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.