on Main Participant Changed
Called when the main participant changes.
The main participant is typically determined by a combination of active speaker, pin state, and presentation status.
Code Example:
override fun onMainParticipantChanged(participant: Participant) {
Log.d("Meeting", "Main participant: ${participant.displayName}")
}
Content copied to clipboard
Parameters
participant
the new main Participant