UserController class

Inheritance

Constructors

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

checkFollowType(String userId) Future<void>
destroy() → void
override
followUser(String userId) Future<void>
getAudienceList() Future<void>
getFansCount() Future<void>
muteAllRemoteAudio(bool isMute) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRemoteUserEnterRoom(String roomId, TUIUserInfo userInfo) → void
onRemoteUserLeaveRoom(String roomId, TUIUserInfo userInfo) → void
onUserAudioStateChanged(String userId, bool hasAudio, TUIChangeReason reason) → void
onUserVideoStateChanged(String userId, TUIVideoStreamType streamType, bool hasVideo, TUIChangeReason reason) → void
onUserVoiceVolumeChanged(Map<String, int> volumeMap) → void
toString() String
A string representation of this object.
inherited
unfollowUser(String userId) Future<void>
updateOwnerUserInfo() Future<void>

Operators

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

Constants

tag → const String
volumeCanHeardMinLimit → const int