Leave Reason
Represents the standardized reasons for a participant leaving a meeting.
Each enum constant carries an integer code and a human-readable message explaining why the participant left.
Leave reasons are delivered via onMeetingLeft.
Code Example:
meeting.addEventListener(object : MeetingEventListener() {
override fun onMeetingLeft(reason: LeaveReason?) {
Log.d("Meeting", "Left: ${reason?.message}")
}
})
See also
MeetingEventListener.onMeetingLeft()
Entries
The WebSocket connection to the server was lost unexpectedly. Code: 1001.
The participant was removed from the meeting by another participant. Code: 1002.
The participant was removed because the viewer mode was changed. Code: 1003.
The participant was removed because the media relay was stopped. Code: 1004.
The participant switched to a different meeting room. Code: 1005.
The meeting was closed by the host or server. Code: 1006.
All participants were removed from the meeting. Code: 1008.
The meeting was ended via the REST API. Code: 1009.
The participant was removed via the REST API. Code: 1010.
The participant ID joined from another device, so this session was disconnected. Code: 1011.
The participant explicitly called leave() to exit the meeting. Code: 1101.
The meeting was left after all WebSocket reconnection attempts were exhausted. Code: 1102.
The meeting was left due to a failure while joining the room. Code: 1103.
The meeting was left due to a failure while switching rooms. Code: 1104.