TUILiveListManagerImpl class

Inheritance

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.
override
fetchLiveList(String cursor, int count) Future<TUIValueCallBack<TUILiveListResult>>
Fetch live list.
override
getLiveInfo(String roomId) Future<TUIValueCallBack<TUILiveInfo>>
Get live info.
override
joinLive(String roomId) Future<TUIValueCallBack<TUILiveInfo>>
Join live room
override
leaveLive() Future<TUIActionCallback>
Leave live room
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeObserver(TUILiveListObserver observer) → void
Remove event callback.
override
setLiveInfo(String roomId, {String? name, String? notice, bool? disableMessage, bool? isPublicVisible, TUISeatMode? takeSeatMode, String? coverUrl, String? backgroundUrl, List<int>? categoryList, int? activityStatus}) Future<TUIActionCallback>
Set live info.
override
startLive(TUILiveInfo liveInfo) Future<TUIValueCallBack<TUILiveInfo>>
Host starts live
override
startPreloadVideoStream(String roomId, bool isMuteAudio, int viewId, TUIPlayCallback? playCallback) → void
Start preloading the room video stream
override
stopLive() Future<TUIValueCallBack<TUILiveStatisticsData>>
Host stop live
override
stopPreloadVideoStream(String roomId) → void
Stop the preloading of the room video stream
override
toString() String
A string representation of this object.
inherited

Operators

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