-
Notifications
You must be signed in to change notification settings - Fork 3
RoomJoinedEvent
Kenan Genjac edited this page Jul 5, 2024
·
2 revisions
Getter for the id
field.
-
String
- Value of theid
field representing a unique room call identifier
func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
os_log("You have joined the room. Room id is: %d", roomJoinedEvent.id)
}
Getter for the name
field.
-
String
- Value of thename
field representing a room name chosen by a room creator.
func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
os_log("You have joined the room. Room name is: %d", roomJoinedEvent.name)
}
Getter for the participants
field.
-
[Participant]
- Value of theparticipants
field representing a list of endpoints which joined the room.
func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
os_log("You have joined the room. Number of participants is: %d", roomJoinedEvent.participants.count)
}
Getter for the recordingType
field.
-
RecordingType
- Value of therecordingType
field representing recording type preference.
func onRoomJoined(_ roomJoinedEvent: RoomJoinedEvent) {
os_log("Joined room with recording type: %@.", roomJoinedEvent.recordingType.stringValue)
}