sendGift static method
Implementation
static Future<TUIActionCallback> sendGift(String roomId, String giftId, int count) {
String userData = Tools.generateUserData();
Completer<TUIActionCallback> completer = Completer();
_actionCallback2Future(userData, completer);
_engineSDK.Dart_SengGift(
_liveGiftFFIPointer!,
Tools.string2PointerChar(roomId),
Tools.string2PointerChar(giftId),
count,
Tools.string2PointerChar(userData));
return completer.future;
}