Skip to content

RoomRejoinedEvent

Adnan Mujagić edited this page Sep 21, 2023 · 1 revision



id

Description

Getter for the id field.

Returns

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

Example

func onRoomRejoined(_ roomRejoinedEvent: RoomRejoinedEvent) {
    os_log("You have successfully rejoined the room. Room id is: %d", roomRejoinedEvent.id)
}



name

Description

Getter for the name field.

Returns

  • String - Value of the name field representing the name of the rejoined room.

Example

func onRoomRejoined(_ roomRejoinedEvent: RoomRejoinedEvent) {
    os_log("You have successfully rejoined the room. Room name is: %d", roomRejoinedEvent.name)
}



participants

Description

Getter for the participants field.

Returns

  • [Participant] - Value of the participants field representing a list of participants already present in the rejoined room call.

Example

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

Tutorials

Migration guides

Reference documentation

Clone this wiki locally