kickRemoteUserOutOfRoom method

Future<TUIActionCallback> kickRemoteUserOutOfRoom(
  1. String userId
)

Implementation

Future<TUIActionCallback> kickRemoteUserOutOfRoom(String userId) {
  String userData = Tools.generateUserData();
  Completer<TUIActionCallback> completer = Completer();
  _actionCallback2Future(userData, completer);
  _engineSDK.Dart_KickRemoteUserOutOfRoom(_engineFFIPointer,
      Tools.string2PointerChar(userId), Tools.string2PointerChar(userData));
  return completer.future;
}