eject Remote Participants
fun ejectRemoteParticipants(ids: List<ParticipantId>, listener: RequestListener? = null)
Content copied to clipboard
Eject remote participants.
Fails if you're not a participant admin.
The optional callback (listener
) will be invoked either when the ejection requests have been successfully sent, or if an error was encountered while doing so.
To handle the requested ejections actually taking effect, listen for participants leaving via the CallClientListener.onParticipantLeft callback.
Errors will also be provided to the CallClientListener.onError callback.