remove

fun remove()

This method can be used to remove a remote participant from the meeting.

After removal, all other participants will receive onParticipantLeft callback. The removed participant will receive onMeetingLeft.

Note: This should only be called on remote participants.

Code Example:


// Remove a remote participant from the meeting
participant.remove()

See also

MeetingEventListener.onParticipantLeft()