stopLive static method

Future<TUIValueCallBack<TUILiveStatisticsData>> stopLive()

Implementation

static Future<TUIValueCallBack<TUILiveStatisticsData>> stopLive() {
  String userData = Tools.generateRoomUserData();
  Completer<TUIValueCallBack<TUILiveStatisticsData>> completer = Completer();
  _valueCallback2Future<TUILiveStatisticsData>(userData, completer);
  _engineSDK.Dart_StopLive(
      _liveListFFIPointer!, Tools.string2PointerChar(userData));
  return completer.future;
}