RoomManager class

Available extensions

Constructors

RoomManager.new()

Properties

context Context
latefinal
hashCode int
The hash code for this object.
no setterinherited
roomState LSRoomState
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service LiveStreamService
latefinal

Methods

dispose() → void
fetchLiveInfo(String roomId) Future<TUIValueCallBack<TUILiveInfo>>
getDefaultRoomName() String
init(Context context) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onJoinLive(TUILiveInfo liveInfo) → void
onKickedOutOfRoom(String roomId, TUIKickedOutOfRoomReason reason, String message) → void

Available on RoomManager, provided by the RoomManagerCallBack extension

onLeaveLive() → void
onLiveEnd(String roomId) → void

Available on RoomManager, provided by the RoomManagerCallBack extension

onLiveInfoChanged(TUILiveInfo liveInfo, List<TUILiveModifyFlag> modifyFlags) → void

Available on RoomManager, provided by the RoomManagerCallBack extension

onLiveVideoLayoutChanged(String roomId, String layoutInfo) → void

Available on RoomManager, provided by the RoomManagerCallBack extension

onReceiveGift(int price, String senderUserId) → void
onRoomUserCountChanged(String roomId, int userCount) → void

Available on RoomManager, provided by the RoomManagerCallBack extension

onSetRoomCoverUrl(String url) → void
onSetRoomName(String name) → void
onSetRoomPrivacy(LiveStreamPrivacyStatus mode) → void
onStartLive(bool isJoinSelf, TUILiveInfo liveInfo) → void
onStartPreview() → void
onStopLive() → void
prepareLiveInfoBeforeEnterRoom(TUILiveInfo liveInfo) → void
prepareRoomIdBeforeEnterRoom(String roomId) → void
toString() String
A string representation of this object.
inherited

Operators

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