kickUserOffSeatByAdmin method

Future<TUIActionCallback> kickUserOffSeatByAdmin(
  1. int seatIndex,
  2. String userId
)

Implementation

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