MeetingBusinessUiState class

Inheritance
Mixed in types
Available Extensions

Constructors

MeetingBusinessUiState(MeetingArguments arguments)

Properties

activeUid String?
显示逻辑,有焦点显示焦点, 否则显示活跃, 否则显示host,否则显示自己, speakingUid与activeUid相同,当没有人说话时,activeUid不变,speakingUid置空
getter/setter pair
appBarAnimController AnimationController
getter/setter pair
appBarHeight double
final
arguments MeetingArguments
final
aspectRatio double?
getter/setter pair
audioVolumeStreams Map<String, StreamController<int>>
final
autoSubscribeAudio bool
getter/setter pair
beautyLevel int
getter/setter pair
bigUid String?
显示逻辑,有焦点显示焦点, 否则显示活跃, 否则显示host,否则显示自己, speakingUid与activeUid相同,当没有人说话时,activeUid不变,speakingUid置空
getter/setter pair
bottomAnim Animation<Offset>
getter/setter pair
bottomBarHeight double
final
chatController ↔ NERoomChatController
latefinal
context BuildContext
The location in the tree where this widget builds.
no setterinherited
downPointEvent PointerEvent?
getter/setter pair
focusUid String?
显示逻辑,有焦点显示焦点, 否则显示活跃, 否则显示host,否则显示自己, speakingUid与activeUid相同,当没有人说话时,activeUid不变,speakingUid置空
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
historyMeetingItem NEHistoryMeetingItem?
getter/setter pair
hPaddingLR double?
getter/setter pair
hPaddingTop double?
getter/setter pair
interceptEvent bool
getter/setter pair
isFrontCamera bool
getter/setter pair
isPreviewVirtualBackground bool
getter/setter pair
isVirtualBackgroundEnabled bool
getter/setter pair
joinTimeOut Timer?
getter/setter pair
lastFocusSwitchTimestamp DateTime
上次焦点视频切换时间
getter/setter pair
lastRemindTimestamp DateTime
上次提醒时间
getter/setter pair
localAudioVolumeIndicatorAnim Animation<double>
getter/setter pair
localRenderer ↔ NERtcVideoRenderer?
getter/setter pair
localUserSpeakingContinuousTimes int
getter/setter pair
meetingBeginTime int
getter/setter pair
meetingMemberCountListenable ValueListenable<int>
no setter
final
final
messageCallback ↔ NEMessageChannelCallback
latefinal
moreMenuItemTipListenable ValueListenable<int>?
no setter
mounted bool
Whether this State object is currently in a tree.
no setterinherited
openMicphoneTipDialogShowing bool
getter/setter pair
roomContext ↔ NERoomContext
getter/setter pair
roomEventCallback ↔ NERoomEventCallback
latefinal
roomInfoUpdatedEventStream StreamController<Object>
final
rtcController ↔ NERoomRtcController
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenShareListenable ValueNotifier<bool>
no setter
smallUid String?
显示逻辑,有焦点显示焦点, 否则显示活跃, 否则显示host,否则显示自己, speakingUid与activeUid相同,当没有人说话时,activeUid不变,speakingUid置空
getter/setter pair
space double
final
speakingUid String?
显示逻辑,有焦点显示焦点, 否则显示活跃, 否则显示host,否则显示自己, speakingUid与activeUid相同,当没有人说话时,activeUid不变,speakingUid置空
getter/setter pair
switchBigAndSmall bool
getter/setter pair
tag String
getter/setter pairinherited
topBarAnim Animation<Offset>
getter/setter pair
userCount int
no setter
userList Iterable<NERoomMember>
no setter
volumeList List<NEMemberVolumeInfo>?
getter/setter pair
vPaddingLR double?
getter/setter pair
vPaddingTop double?
getter/setter pair
whiteboardController ↔ NERoomWhiteboardController
latefinal
whiteBoardInteractionStatusNotifier ValueNotifier<bool>
getter/setter pair
whiteBoardShareListenable ValueNotifier<bool>
no setter
widget MeetingPage
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
buildActionSheetItem(BuildContext context, bool defaultAction, String title, int itemId, {Color textColor = UIColors.color_007AFF}) Widget
buildAppBar() Widget
buildAudioIcon(bool muteAudio) Align
buildAudioMode(MediaQueryData data) Widget
buildBigNameView(NERoomMember user) Widget
buildBigVideoView(NERoomMember? bigViewUser) Widget
buildBottomAppBar() Container
buildBottomLeftName(NERoomMember user) Align
buildCameraMode(MediaQueryData data, double height) Widget
buildCenter() Widget
buildChild() Widget
buildContent(String? content) Widget
buildGalleyNameView(String userId, String? name, bool muteAudio) Widget
buildGalleyUI() Widget
画廊模式
buildGradient(List<Color> colors) LinearGradient
buildGrid(int page) Widget
build
buildGridItem(Widget view, String roomUid, String? name, bool muteAudio) Widget
buildGridItems(int page) List<Widget>
buildHandsUp(String desc, VoidCallback callback) Widget
buildHead(String? nick) Widget
buildHostUI() Widget
主讲人视觉,
buildItemTab(VoidCallback callback, bool state, IconData enableIcon, IconData disableIcon, String enableStr, String disableStr, {Color? enableColor, Color? disableColor}) Widget
buildJoiningUI() Widget
加入中状态
buildLeave(MediaQueryData data) Widget
buildMeetingInfo(MediaQueryData data) Widget
buildMinimize(MediaQueryData data) Widget
buildModeUI() Widget
buildName(String? nick) Widget
buildNameView(String userId, AlignmentGeometry alignment, {String? prefix, String? suffix}) Widget
buildRemoteScreenShare() Widget
buildRoomUserVolumeIndicator(String userId, {double? size, double? opacity}) Widget
buildScreenShareUI() Widget
屏幕共享
buildSelfVolumeIndicator() Widget
buildSmallNameView(String? name) Widget
buildSmallVideoView(NERoomMember user) Widget
buildSmallView(String userId) Widget
buildWhiteBoardShareUI() Widget
白板共享
calAspectRatio() → void
2*2
calculatePageSize() int
add 1 focus ui
cancelInComingTips() → void
changeToolBarStatus() → void
chatroomMessagesReceived(List<NERoomChatMessage> message) → void
此处只处理了txt 样式的消息
confirmStartScreenShare() → void
createHistoryMeetingItem() → void
createTicker(TickerCallback onTick) Ticker
Creates a ticker with the given callback.
inherited
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
delayTask(void callback(), {int days = 0, int hours = 0, int minutes = 0, int seconds = 0, int milliseconds = 0, int microseconds = 0}) → void
inherited
determineBigSmallUser() → void
didChangeAccessibilityFeatures() → void
Called when the system changes the set of currently active accessibility features.
inherited
didChangeAppLifecycleState(AppLifecycleState state) → void
Called when the system puts the app in the background or returns the app to the foreground.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didChangeLocales(List<Locale>? locales) → void
Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings.
inherited
didChangeMetrics() → void
Called when the application's dimensions change. For example, when a phone is rotated.
override
didChangePlatformBrightness() → void
Called when the platform brightness changes.
inherited
didChangeTextScaleFactor() → void
Called when the platform's text scale factor changes.
inherited
didHaveMemoryPressure() → void
Called when the system is running low on memory.
inherited
didPopRoute() Future<bool>
Called when the system tells the app to pop the current route, such as after a system back button press or back gesture.
inherited
didPushRoute(String route) Future<bool>
Called when the host tells the application to push a new route onto the navigator.
inherited
didPushRouteInformation(RouteInformation routeInformation) Future<bool>
Called when the host tells the application to push a new RouteInformation and a restoration state onto the router.
inherited
didRequestAppExit() Future<AppExitResponse>
Called when a request is received from the system to exit the application.
inherited
didUpdateWidget(covariant MeetingPage oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
finishPage() → void
getCurrentMeetingInfo() NEMeetingInfo?
override
getMenuItemIconBuilder(int menuId) MenuItemIconBuilder?
getMenuItemStateController(int menuId) CyclicStateListController
getMenuItemTipBuilder(int menuId) MenuItemTipBuilder?
getScreenShareUserId() String?
getUidListByPage(int page) List<String>
handleMemberPropertiesEvent(NERoomMember member, Map<String, String> properties) → void
handleMenuItemClick(NEMenuClickInfo clickInfo) → void
按钮事件回调
handlePassThroughMessage(NECustomMessage message) → void
handleRoomPropertiesEvent(Map<String, String> properties, bool isDelete) → void
handsUpCount() int
hasHandsUp() bool
initState() → void
Called when this object is inserted into the tree.
override
isChatroomEnabled() bool
新增聊天室是否可用,对应原chatController内的isChatroomEnabled() 方法
isCoHost(String? uuid) bool
是否是联席主持人
isEarpiece() bool
isHeadset() bool
isHighLight(String? roomUid) bool
isHost() bool
isHostOrCoHost(String? uuid) bool
uuid 是否是主持人或者联席主持人
isOtherScreenSharing() bool
isOtherWhiteBoardSharing() bool
isSelf(String? userId) bool
isSelfCoHost() bool
自己是否是联席主持人
isSelfHostOrCoHost() bool
自己是否是主持人或者联席主持人
isSelfScreenSharing() bool
isSelfWhiteBoardSharing() bool
isWhiteBoardSharing() bool
isWhiteBoardSharingAndIsHost() bool
lifecycleExecute<T>(Future<T> future) Future<T?>
inherited
lifecycleExecuteUI<T>(Future<T> future) Future<T?>
inherited
lifecycleListen<T>(Stream<T> stream, void onData(T event)) UniqueKey?
inherited
lifecycleUnListen(UniqueKey key) → void
inherited
liveStateChanged(NERoomLiveState state) → void
memberAudioMuteChanged(NERoomMember member, bool mute, NERoomMember? operator) → void
memberJoinRoom(List<NERoomMember> userList) → void
memberJoinRtcChannel(List<NERoomMember> members) → void
memberLeaveRoom(List<NERoomMember> userList) → void
memberLeaveRtcChannel(List<NERoomMember> members) → void
memberNameChanged(NERoomMember member, String name) → void
memberRoleChanged(NERoomMember member, NERoomRole before, NERoomRole after) → void
memberScreenShareStateChanged(NERoomMember member, bool isSharing, NERoomMember? operator) → void
****************** InRoomServiceListener ******************
memberVideoMuteChanged(NERoomMember member, bool mute, NERoomMember? operator) → void
memberWhiteboardShareStateChanged(NERoomMember member, bool isSharing, NERoomMember? operator) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAppLifecycleState(AppLifecycleState state) → void
override
onChat() → void
onConnected() → void
onFirstFrameRendered(String uid) → void
override
onFrameResolutionChanged(String uid, int width, int height, int rotation) → void
override
onKicked() → void
被踢出, 没有操作3秒自动退出
onLocalAudioVolumeIndication(int volume) → void
onMemberInOrOut() → void
onRendererAvailable(String userId, NERtcVideoRenderer renderer) → void
override
onRoomDisconnected(NERoomEndReason reason) → void
onRtcAudioOutputDeviceChanged(NEAudioOutputDevice selected) → void
onRtcAudioVolumeIndication(List<NEMemberVolumeInfo> volumeList, int totalVolume) → void
onRtcChannelError(int code) → void
onRtcVirtualBackgroundSourceEnabled(bool enabled, int reason) → void
prepareExecutor() → void
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
restorePreferredOrientations() → void
setBeautyEffect(int beautyLevel) Future<void>
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
inherited
setupAudioAndVideo() Future<void>
setupChatRoom() → void
shouldShowMenu(NEMeetingMenuItem item) bool
showInComingMessage(NERoomChatMessage chatRoomMessage) → void
提示聊天室接受消息
showOpenMicDialog() → void
showOpenVideoDialog() → void
showTurnOnMicphoneTipDialog() → void
“打开扬声器”提醒弹窗
startAudioDump() Future<NEResult<void>>
开启音频dump
override
stopAudioDump() Future<NEResult<void>>
关闭音频dump
override
subscribeAllRemoteAudioStreams(bool subscribe) Future<NEResult<void>>
订阅会议内全部音频流
override
subscribeRemoteAudioStream(String userId, bool subscribe) Future<NEResult<void>>
订阅会议内某一音频流
override
subscribeRemoteAudioStreams(List<String> userList, bool subscribe) Future<NEResult<List<String>>>
批量订阅会议内音频流
override
swapBigSmallUid() → void
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
trackImmediateEvent(String name, {String module = _TrackModuleName.meeting, String? category, Map? extra}) → void
inherited
trackPeriodicEvent(String name, {String module = _TrackModuleName.meeting, String? category, Map? extra}) → void
inherited
truncate(String str) String
updateAllMuteState(Map<String, String> properties, bool isDelete) bool
updateFocus() bool
updateSelfHandsUpState(String userId, Map<String, String> properties) bool
updateSelfWhiteboardDrawableState(String userId, Map<String, String> properties) bool

Operators

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

Constants

minMinutesToRemind → const int
minSpeakingTimesToRemind → const int
minSpeakingVolume → const int