getLiveInfo static method

Future<TUIValueCallBack<TUILiveInfo>> getLiveInfo(
  1. String roomId
)

Implementation

static Future<TUIValueCallBack<TUILiveInfo>> getLiveInfo(String roomId) {
  String userData = Tools.generateUserData();
  Completer<TUIValueCallBack<TUILiveInfo>> completer = Completer();
  _valueCallback2Future<TUILiveInfo>(userData, completer);
  _engineSDK.Dart_GetLiveInfo(_liveListFFIPointer!,
      Tools.string2PointerChar(roomId), Tools.string2PointerChar(userData));
  return completer.future;
}