Skip to main content

Interface: OdinPeerJoinedEventPayload

The payload for the PeerJoined event.

Extends

Properties

event

event: keyof OdinEvents

The name of the event that was fired (see keys of OdinEvents for possible values).

Inherited from

OdinEventPayload.event

Defined in

odin.room.d.ts:89


peerId

peerId: number

The ID of the peer that joined.

Defined in

odin.room.d.ts:139


tag

tag: number

An internal integer representing the type of the event. This is mainly used internally for testing purposes.

Inherited from

OdinEventPayload.tag

Defined in

odin.room.d.ts:94


userData

userData: Uint8Array

The user data of the peer that joined.

Defined in

odin.room.d.ts:149


userId

userId: string

The ID of the user that joined.

Defined in

odin.room.d.ts:144