fetchScheduledConferenceList static method

Future<TUIValueCallBack<TUIScheduledConferenceListResult>> fetchScheduledConferenceList(
  1. List<TUIConferenceStatus> status,
  2. String cursor,
  3. int count
)

Implementation

static Future<TUIValueCallBack<TUIScheduledConferenceListResult>>
    fetchScheduledConferenceList(
        List<TUIConferenceStatus> status, String cursor, int count) {
  String userData = Tools.generateUserData();
  Completer<TUIValueCallBack<TUIScheduledConferenceListResult>> completer =
      Completer();
  _valueCallback2Future<TUIScheduledConferenceListResult>(
      userData, completer);
  int flag = 0;
  for (var element in status) {
    flag |= element.value();
  }
  _engineSDK.Dart_FetchScheduledConferenceList(
      _conferenceListFFIPointer!,
      flag,
      Tools.string2PointerChar(cursor),
      count,
      Tools.string2PointerChar(userData));
  return completer.future;
}