Skip to content

RoomJoinedEvent

Kenan Genjac edited this page Jul 5, 2024 · 2 revisions



id

Description

Getter for the id field.

Returns

  • String - Value of the id field representing a unique room call identifier

Example

func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
    os_log("You have joined the room. Room id is: %d", roomJoinedEvent.id)
}



name

Description

Getter for the name field.

Returns

  • String - Value of the name field representing a room name chosen by a room creator.

Example

func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
    os_log("You have joined the room. Room name is: %d", roomJoinedEvent.name)
}



participants

Description

Getter for the participants field.

Returns

  • [Participant] - Value of the participants field representing a list of endpoints which joined the room.

Example

func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
    os_log("You have joined the room. Number of participants is: %d", roomJoinedEvent.participants.count)
}



recordingType

Description

Getter for the recordingType field.

Returns

  • RecordingType - Value of the recordingType field representing recording type preference.

Example

func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
    os_log("Joined room with recording type: %@.", roomJoinedEvent.recordingType.stringValue)
}

Tutorials

Migration guides

Reference documentation

Clone this wiki locally