RoomController class
- Inheritance
-
- Object
- Controller
- RoomController
Constructors
- RoomController(LiveState state, ILiveService service)
Properties
- beautyState ↔ BeautyState
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- liveService → ILiveService
-
finalinherited
- liveState → LiveState
-
finalinherited
- mediaState ↔ MediaState
-
getter/setter pairinherited
- roomState ↔ RoomState
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seatState ↔ SeatState
-
getter/setter pairinherited
- userState ↔ UserState
-
getter/setter pairinherited
- viewState ↔ ViewState
-
getter/setter pairinherited
Methods
-
clearLiveState(
) → void -
destroy(
) → void -
override
-
exit(
) → Future< TUIActionCallback> -
getDefaultRoomName(
) → String -
getLiveCategoryList(
) → List< String> -
initCreateRoomState(
String roomId, String roomName, TUISeatMode seatMode, int maxSeatCount) → void -
insertGiftPeople(
String userId) → void -
join(
String roomId) → Future< TUIValueCallBack< TUIRoomInfo> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRoomUserCountChanged(
String roomId, int userCount) → void -
setLiveCategory(
int category) → void -
setLiveCategoryList(
List< String> list) → void -
setLivePrivacyStatus(
LiveStreamPrivacyStatus liveMode) → void -
setRoomName(
String roomName) → void -
start(
) → Future< TUIValueCallBack< TUIRoomInfo> > -
startPreview(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateGiftIncome(
int giftIncome) → void -
updateLikeNumber(
int likeCount) → void -
updateLiveInfo(
) → void -
updateMessageCount(
int messageCount) → void -
updateRoomState(
TUIRoomInfo? roomInfo) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
mCategoryList
↔ List<
String> -
getter/setter pair