onMeetingStateChanged

Called when the meeting connection state changes.

The MeetingState indicates the current state of the meeting connection, such as connecting, connected, closing, or closed.

Code Example:


override fun onMeetingStateChanged(state: MeetingState) {
    Log.d("Meeting", "State changed: $state")
    if (state == MeetingState.CONNECTED) {
        // Meeting is fully connected
    } else if (state == MeetingState.DISCONNECTED) {
        // Meeting was disconnected
    }
}

Parameters

state

the new MeetingState

See also

Meeting.getMeetingState()