TUILiveGiftManager class abstract

Constructors

TUILiveGiftManager.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addObserver(TUILiveGiftObserver observer) → void
Add event callback.
getGiftCountByAnchor(String roomId) Future<TUIValueCallBack<TUIGiftCountRequestResult>>
Request get gift count by anchor.
getGiftList(String roomId) Future<TUIValueCallBack<List<TUIGiftCategory>>>
Request get gift category list
getLikesCount(String roomId) Future<TUIValueCallBack<int>>
Request get likes count.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeObserver(TUILiveGiftObserver observer) → void
Remove event callback.
sendGift(String roomId, String giftId, int count) Future<TUIActionCallback>
Send gift to room.
sendLike(String roomId, int count) Future<TUIActionCallback>
Send like to room.
toString() String
A string representation of this object.
inherited

Operators

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