RoomManager class

Available extensions

Constructors

RoomManager()

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(LiveInfo 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

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, LiveInfo liveInfo) → void
onStartPreview() → void
onStopLive() → void
prepareLiveInfoBeforeEnterRoom(LiveInfo liveInfo) → void
prepareRoomIdBeforeEnterRoom(String roomId) → void
setLiveID(String liveID) → void
toString() String
A string representation of this object.
inherited

Operators

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