Skip to main content
Version: 0.1.x

Remove Participant

Remove participant allows removing participant while session is on-going. This can be helpful when moderation in particular meeting is required.

val participant = meeting!!.participants.get("<participant-id>")

// This will emit an event called "onParticipantLeft" to that particular participant


onParticipantLeft - Removing participant will trigger onParticipantLeft event.

private final MeetingEventListener meetingEventListener = new MeetingEventListener() {

override fun onParticipantLeft(participant: Participant) {
// Triggers when a participant is removed or leaves the meeting.
Log.d("#meeting", participant.displayName + " left");