LiveListStore class abstract

Live room list management class, used to manage live room related business.

Constructors

LiveListStore()

Properties

hashCode int
The hash code for this object.
no setterinherited
liveState LiveListState
Live list state{@link LiveListState}
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLiveListListener(LiveListListener listener) → void
Live list event publisher
createLive(LiveInfo liveInfo) Future<LiveInfoCompletionHandler>
Create live
endLive() Future<StopLiveCompletionHandler>
End live
fetchLiveList({required String cursor, required int count}) Future<CompletionHandler>
Fetch live list
joinLive(String liveID) Future<LiveInfoCompletionHandler>
Join live
leaveLive() Future<CompletionHandler>
Leave live
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryMetaData(List<String> keys) Future<MetaDataCompletionHandler>
Query metadata
removeLiveListListener(LiveListListener listener) → void
reset() → void
Reset to default state
toString() String
A string representation of this object.
inherited
updateLiveInfo({required LiveInfo liveInfo, required List<ModifyFlag> modifyFlagList}) Future<CompletionHandler>
Update live information
updateLiveMetaData(Map<String, String> metaData) Future<CompletionHandler>
Update live metadata

Operators

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

Static Properties

shared LiveListStore
Singleton object
no setter