Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinJoinedEventPayload

export interface OdinJoinedEventPayload

The payload for the Joined event.

Properties

NameTypeDescription
eventanyThe name of the event that was fired (see keys of OdinEvents for possible values).
ownPeerIdnumberThe ID of the local peer.
ownUserIdstringThe ID of the local user. It is the same as the user id that was passed to join.
roomIdstringThe ID of the room that was joined. It’s the same as the room id that was passed to join.
roomUserDataundefined | Uint8ArrayThe current user data of the room
tagnumberAn internal integer representing the type of the event. This is mainly used internally for testing purposes.