getGiftList static method

Implementation

static Future<TUIValueCallBack<List<TUIGiftCategory>>> getGiftList(String roomId) {
  String userData = Tools.generateUserData();
  Completer<TUIValueCallBack<List<TUIGiftCategory>>> completer = Completer();
  _valueCallback2Future<List<TUIGiftCategory>>(userData, completer);
  _engineSDK.Dart_GetGiftList(_liveGiftFFIPointer!,
      Tools.string2PointerChar(roomId), Tools.string2PointerChar(userData));
  return completer.future;
}