GiftManager class

Inheritance
  • Object
  • TUILiveGiftObserver
  • GiftManager

Constructors

GiftManager.new({required String roomId, OnReceiveGiftMessageCallback? onReceiveGiftMessageCallback, OnReceiveLikeMessageCallback? onReceiveLikeMessageCallback})

Properties

hashCode int
The hash code for this object.
no setterinherited
onGiftCountChanged ↔ OnGiftCountChanged
Callback for gift count changed.
getter/setter pairinherited
onReceiveGiftMessage ↔ OnReceiveGiftMessage
Callback for receive gift message.
getter/setter pairinherited
onReceiveGiftMessageCallback OnReceiveGiftMessageCallback?
getter/setter pair
onReceiveLikeMessageCallback OnReceiveLikeMessageCallback?
getter/setter pair
onReceiveLikesMessage ↔ OnReceiveLikesMessage
Callback for receive likes message.
getter/setter pairinherited
roomId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
getGiftCountByAnchor() Future<TUIValueCallBack<TUIGiftCountRequestResult>>
getGiftList() Future<TUIActionCallback>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendGift(TUIGiftInfo giftInfo, int count) Future<TUIActionCallback>
setCurrentLanguage(String language) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited