Interface: OdinPeerUserDataChangedEventPayload
The payload for the PeerUserDataChanged event.
Extends
Properties
event
event: keyof
OdinEvents
The name of the event that was fired (see keys of OdinEvents for possible values).
Inherited from
Defined in
odin.room.d.ts:96
peerId
peerId:
number
The ID of the peer that changed the user data.
Defined in
odin.room.d.ts:265
tag
tag:
number
An internal integer representing the type of the event. This is mainly used internally for testing purposes.
Inherited from
Defined in
odin.room.d.ts:101
userData
userData:
undefined|Uint8Array
The new user data of the peer.
Defined in
odin.room.d.ts:270