fetchLiveList static method

Future<TUIValueCallBack<TUILiveListResult>> fetchLiveList(
  1. String cursor,
  2. int count
)

Implementation

static Future<TUIValueCallBack<TUILiveListResult>> fetchLiveList(
    String cursor, int count) {
  String userData = Tools.generateUserData();
  Completer<TUIValueCallBack<TUILiveListResult>> completer = Completer();
  _valueCallback2Future<TUILiveListResult>(userData, completer);
  _engineSDK.Dart_FetchLiveList(
      _liveListFFIPointer!,
      Tools.string2PointerChar(cursor),
      count,
      Tools.string2PointerChar(userData));
  return completer.future;
}