leaveSeat method

Future<void> leaveSeat()

Implementation

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