TUILiveListManager class abstract

Abstract class for managing live list operations.

This class provides APIs for adding and removing event callbacks, setting and getting live information, fetching the live list, and more.

Instances of this class should be obtained via TUIRoomEngine.sharedInstance().getExtension(TUIExtensionType.liveListManager).

Implementers

Constructors

TUILiveListManager()

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(TUILiveListObserver observer) → void
////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// Add event callback.
fetchLiveList(String cursor, int count) Future<TUIValueCallBack<TUILiveListResult>>
Fetch live list.
getLiveInfo(String roomId) Future<TUIValueCallBack<TUILiveInfo>>
Get live info.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeObserver(TUILiveListObserver observer) → void
Remove event callback.
setLiveInfo(String roomId, {String? coverUrl, List<int>? categoryList, bool? isPublicVisible, int? activityStatus}) Future<TUIActionCallback>
Set live info.
toString() String
A string representation of this object.
inherited

Operators

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