remove method

Future<void> remove()

Removes the participant from the room.

  • Calling this method forcefully removes the participant from the current room session.

Returns

  • A Future<void> that completes once the native SDK accepts the request, or throws a VideoSDKError carrying its code and name.

Example

// Remove participant from the room
await participant.remove();

Implementation

Future<void> remove() => _remove();