kickSeat method

Future<void> kickSeat(
  1. String userId
)

Implementation

Future<void> kickSeat(String userId) async {
  TUIActionCallback result = liveService.kickUserOffSeatByAdmin(0, userId) as TUIActionCallback;
  if (result.code != TUIError.success) {
    LiveKitLogger.error("$tag kickSeat [code:${result.code},message:${result.message}]");
    ErrorHandler.onError(result.code);
    return;
  }
}