LiveStreamManager class
Constructors
- LiveStreamManager.new({required CoreStateProvider provider})
Properties
- battleManager → BattleManager
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - battleManagerObserver ↔ BattleManagerObserver
-
latefinal
- battleState → LSBattleState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - coGuestState → LSCoGuestState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - coHostManager → CoHostManager
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - coHostState → LSCoHostState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - coreBattleState → BattleState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithCoreStateProvider extension
no setter - coreCoGuestState → CoGuestState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithCoreStateProvider extension
no setter - coreCoHostState → CoHostState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithCoreStateProvider extension
no setter - coreMediaState → MediaState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithCoreStateProvider extension
no setter - coreRoomState → RoomState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithCoreStateProvider extension
no setter - coreUserState → UserState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithCoreStateProvider extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
kickedOutSubject
↔ StreamController<
void> -
latefinal
-
likeSubject
↔ StreamController<
void> -
latefinal
- liveStreamObserver ↔ LiveStreamObserver
-
latefinal
- mediaManager → MediaManager
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - mediaState → LSMediaState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - provider ↔ CoreStateProvider
-
latefinal
- roomState → LSRoomState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ LiveStreamService
-
latefinal
-
toastSubject
↔ StreamController<
String> -
latefinal
- userState → LSUserState
-
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
no setter
Methods
-
dispose(
) → void -
fetchLiveInfo(
String roomId) → Future< TUIValueCallBack< TUILiveInfo> > -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
fetchRecommendedList(
{String cursor = ''}) → Future< void> -
Available on LiveStreamManager, provided by the LiveStreamManagerWithCommon extension
-
getDefaultRoomName(
) → String -
Available on LiveStreamManager, provided by the LiveStreamManagerWithTools extension
-
getUserInfo(
String userId) → Future< TUIValueCallBack< TUIUserInfo> > -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
isBattleDraw(
) → bool -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
isCoGuesting(
) → bool -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBattleExited(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onCameraOpened(
int viewId) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithCommon extension
-
onCanceledBattle(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onCancelIntraRoomConnection(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onCoGuestConnectUserChanged(
List< TUIUserInfo> connectedUserList) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onCoGuestStatusChanged(
CoGuestStatus status) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onCoHostConnectUserChanged(
List< TUIConnectionUser> connectedUserList) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onCrossRoomConnectionTerminated(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onDisableSendingMessageBtnClicked(
String userId, bool isDisable) → Future< TUIActionCallback> -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onJoinLive(
TUILiveInfo liveInfo) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onKickedOutBtnClicked(
String userId) → Future< TUIActionCallback> -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onLeaveLive(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onLockMediaStatusBtnClicked(
String userId, TUISeatLockParams params) → Future< TUIActionCallback> -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onReceiveGift(
int price, String senderUserId) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithCommon extension
-
onRequestBattle(
String battleId, List< TUIBattleUser> battleUserList) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onRequestCrossRoomConnection(
TUIConnectionUser user) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onRequestCrossRoomConnectionFailed(
String roomId) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onRequestIntraRoomConnectionFailed(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onResponseBattle(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onSetRoomCoverUrl(
String url) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onSetRoomName(
String roomName) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onSetRoomPrivacy(
LiveStreamPrivacyStatus mode) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onStartCancelIntraRoomConnection(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onStartLive(
bool isJoinSelf, TUILiveInfo liveInfo) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onStartPreview(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
onStartRequestIntraRoomConnection(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAudience extension
-
onStopLive(
) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
prepareLiveInfoBeforeEnterRoom(
TUILiveInfo liveInfo) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
prepareRoomIdBeforeEnterRoom(
String roomId) → void -
Available on LiveStreamManager, provided by the LiveStreamManagerWithAnchor extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited