onPresenterChanged

fun onPresenterChanged(participantId: String)

Called when the active presenter changes.

The presenter is the participant who is currently sharing their screen. When screen sharing stops, this callback is fired with null.

Code Example:


override fun onPresenterChanged(participantId: String?) {
    if (participantId != null) {
        Log.d("Meeting", "Presenter: $participantId")
    } else {
        Log.d("Meeting", "No active presenter")
    }
}

Parameters

participantId

the ID of the participant who started presenting, or null if presenting has stopped

See also

Meeting.disableScreenShare()