EnxController class

Inheritance
  • Object
  • GetLifeCycle
  • DisposableInterface
  • GetxController
  • EnxController

Constructors

EnxController(String token, BuildContext context, void disconnect(Map map), void connectError(Map map), void onPageSlide(EnxPageSlideEventName enxPageSlideEventName, bool isShow), void onUserDataReceived(Map map))

Properties

activeTalkerList ↔ RxList<ActiveList>
getter/setter pair
appMode ↔ RxString
getter/setter pair
audience ↔ RxBool
getter/setter pair
audioOnly bool
no setter
backCamera ↔ RxBool
getter/setter pair
chatList ↔ RxList<ChatModel>
getter/setter pair
chatModel ChatModel?
getter/setter pair
chatType ↔ RxString
getter/setter pair
clientID String
getter/setter pair
connectError ↔ void Function(Map map)
getter/setter pair
context BuildContext
getter/setter pair
currentClientPosition int
getter/setter pair
dataAvailable bool
no setter
deviceList ↔ RxList
getter/setter pair
disconnect ↔ void Function(Map map)
getter/setter pair
duration ↔ Rx<Duration>
getter/setter pair
fileShareModel ↔ dynamic
getter/setter pair
floorAction int
no setter
floorRequestList ↔ RxList<FloorRequestModel>
getter/setter pair
floorRequestModel FloorRequestModel?
getter/setter pair
fullList List<UserModel>
getter/setter pair
getChatType String
no setter
getClientName String
no setter
getRoomAwaited String
no setter
hardMuteVideo ↔ RxBool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
initialized bool
Checks whether the controller has already been initialized.
no setterinherited
isActive ↔ RxBool
getter/setter pair
isActiveTalker bool
no setter
isAudience bool
no setter
isAudioMute bool
no setter
isAudioMuted ↔ RxBool
getter/setter pair
isAudioOnly ↔ RxBool
getter/setter pair
isBackCamera bool
no setter
isBeeponEntry bool
getter/setter pair
isBeeponExit bool
getter/setter pair
isChatGroupIcon bool
no setter
isChatIcon ↔ RxBool
getter/setter pair
isClosed bool
Checks whether the controller has already been closed.
no setterinherited
isConfirmation ↔ RxBool
getter/setter pair
isConfirmWhenLeavingMeeting bool
getter/setter pair
isEndofMeeting bool
getter/setter pair
isGrid ↔ RxBool
getter/setter pair
isGridView bool
no setter
isHardMute ↔ RxBool
getter/setter pair
isHardMuteAudio ↔ RxBool
getter/setter pair
isHardMuteRoom bool
no setter
isHardMuteRoomAudio bool
no setter
isHardMuteVideo bool
no setter
isHlsStarted ↔ RxBool
getter/setter pair
isLongPress ↔ RxBool
getter/setter pair
isLongPressEnable bool
no setter
isModerator ↔ RxBool
getter/setter pair
isMuted bool
getter/setter pair
isMuteVideo bool
getter/setter pair
isNewChatMessage bool
getter/setter pair
isNotification bool
no setter
isNotificationIcon ↔ RxBool
getter/setter pair
isRecord bool
no setter
isRecording ↔ RxBool
getter/setter pair
isRole bool
no setter
isScreenShare bool
no setter
isScreenShared ↔ RxBool
getter/setter pair
isScreenSharedStarted ↔ RxBool
getter/setter pair
isScreenShareStarted bool
no setter
isSelect ↔ RxList<bool>
getter/setter pair
isSelected List<bool>
no setter
isSetting ↔ RxBool
getter/setter pair
isSettingShow bool
no setter
isShow ↔ RxBool
getter/setter pair
isShowAnnotation ↔ RxBool
getter/setter pair
isShowAnnotationView bool
no setter
isShowConnectedTime bool
getter/setter pair
isShowHide bool
no setter
isShowLocalRemote ↔ RxBool
getter/setter pair
isStartRecording bool
getter/setter pair
isStopRecording bool
getter/setter pair
isTyping ↔ RxBool
getter/setter pair
isTypingStarted ↔ RxBool
getter/setter pair
isVideoMute bool
no setter
isVideoMuted ↔ RxBool
getter/setter pair
isVideoSelected ↔ RxBool
getter/setter pair
isVisibleLocalRemote bool
no setter
listeners int
no setterinherited
listType List
getter/setter pair
loading String
no setter
loadingTxt ↔ RxString
getter/setter pair
lobbyRequestArrayList ↔ RxList<LobbyModel>
getter/setter pair
mediaDeviceList ↔ RxList<MediaDeviceModel>
getter/setter pair
mode String
no setter
moderatorsList ↔ RxList<UserModel>
getter/setter pair
moreList ↔ RxList<MoreModel>
getter/setter pair
moreModel MoreModel?
getter/setter pair
name ↔ RxString
getter/setter pair
onDelete → InternalFinalCallback<void>
Internal callback that starts the cycle of this controller.
finalinherited
onPageSlide ↔ void Function(EnxPageSlideEventName enxPageSlideEventName, bool isShow)
getter/setter pair
onStart → InternalFinalCallback<void>
Called at the exact moment the widget is allocated in memory. It uses an internal "callable" type, to avoid any @overrides in subclases. This method should be internal and is required to define the lifetime cycle of the subclass.
finalinherited
onUserDataReceived ↔ void Function(Map map)
getter/setter pair
participantFloorAction ↔ RxInt
getter/setter pair
participantsList ↔ RxList<UserModel>
getter/setter pair
positionCom ↔ RxDouble
getter/setter pair
positionUpdate double
no setter
privateChatList ↔ RxList<ChatModel>
getter/setter pair
privateChatListData ↔ RxList<ChatListModel>
getter/setter pair
progressValue double
no setter
progressValueInstream double
getter/setter pair
recipientID ↔ dynamic
getter/setter pair
roomAwaited ↔ RxString
getter/setter pair
roomID String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenShareMode ↔ RxString
getter/setter pair
screenShareState ↔ RxString
getter/setter pair
screenShareStream int
no setter
screenShareStreamId ↔ RxInt
getter/setter pair
scrollController ScrollController
final
selected ↔ RxString
getter/setter pair
selectedDevice ↔ RxString
getter/setter pair
selectedIndex int
getter/setter pair
selectedMedia String
no setter
selectedMediaDeviceModel ↔ Rx<MediaDeviceModel>
getter/setter pair
setting EnxSetting
getter/setter pair
settingList ↔ RxList<SettingModelList>
getter/setter pair
shareClientId ↔ RxString
getter/setter pair
shareRequestList ↔ RxList<FloorRequestModel>
getter/setter pair
showConfirmation bool
no setter
state VideoPlayerState
final
streamId ↔ RxInt
getter/setter pair
streamIdForAnnotation int
no setter
timer Timer?
getter/setter pair
token String
getter/setter pair
totalSubscriberInRoom ↔ RxDouble
getter/setter pair
typerName ↔ RxString
getter/setter pair
userList ↔ RxList<UserListModel>
getter/setter pair
userList1 ↔ RxList<UserListModel>
getter/setter pair
userModelSelf UserModel?
getter/setter pair
videoController ↔ VideoPlayerController?
getter/setter pair

Methods

$configureLifeCycle() → void
inherited
acceptFloors(String clientId) Future<void>
addListener(GetStateUpdate listener) → Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, GetStateUpdate listener) → Disposer
inherited
addParticipantsList(RxList<UserListModel> userList) → void
annotationShare() Future<void>
approveAwaitedUser(LobbyModel item) Future<void>
cancelFloors() Future<void>
checkSettingEnable() → void
configureRoom() Future<void>
denyAwaitedUser(LobbyModel item) Future<void>
destroyRoom() Future<void>
disconnectRoom() Future<void>
dispose() → void
inherited
disposeId(Object id) → void
To dispose an id from future updates(), this ids are registered by GetBuilder() or similar, so is a way to unlink the state change with the Widget from the Controller.
inherited
downloadFile(Map file) Future<void>
dropCall(List<String> clientIds) Future<void>
endCall(String screen) Future<void>
finishFloors() Future<void>
getNameFromId(String clientId) String
groupChatView() → void
initEnxRtc() Future<void>
moreListItem(String role) → void
muteRoom() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChildrens() → void
inherited
onClose() → void
Called before onDelete method. onClose might be used to dispose resources used by the controller. Like closing events, or streams before the controller is destroyed. Or dispose objects that can potentially create some memory leaks, like TextEditingControllers, AnimationControllers. Might be useful as well to persist some data on disk.
override
onGrantDenyReleaseManagement(Map map) → void
onInit() → void
Called immediately after the widget is allocated in memory. You might use this to initialize something for the controller.
override
onReady() → void
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
override
parseAwaitedUserList(dynamic map) → void
playVideo(String url) → dynamic
refresh() → void
inherited
refreshGroup(Object id) → void
inherited
rejectFloors(String clientId) Future<void>
releaseFloors(String clientId) Future<void>
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
inherited
requestFloors() Future<void>
screenShare() Future<void>
screenShareControl(String role, dynamic map) → void
screenShareRequestAccepted(FloorRequestModel item) Future<void>
screenShareRequestRejected(FloorRequestModel item) Future<void>
screenShareRequestRevoked(FloorRequestModel item) Future<void>
scrollToBottom(ScrollController scrollController) Future
sendFile(bool isBroadcast, List<String> clientIds, String group) Future<void>
sendMessage(String msg, bool isBroadCast, List<String> recipientIDs, String group) → void
setPermissionInShareMode(EnxPubMode enxPubMode) → void
settingListItem() → void
showAlert() → void
startRecording() Future<void>
switchAtView() → void
switchCamera() Future<void>
switchMedia(EnxController obj) Future<void>
timerData() String
toggleHardMuteAudio(String clientId) Future<void>
toggleHardMuteVideo(String clientId) Future<void>
toggleHardUnMuteAudio(String clientId) Future<void>
toggleHardUnMuteVideo(String clientId) Future<void>
toggleMuteAudio() Future<void>
toggleMuteVideo() Future<void>
toString() String
A string representation of this object.
inherited
typingIndicator(List<String> list, String type) Future<void>
update([List<Object>? ids, bool condition = true]) → void
Rebuilds GetBuilder each time you call update(); Can take a List of ids, that will only update the matching GetBuilder( id: ), ids can be reused among GetBuilders like group tags. The update will only notify the Widgets, if condition is true.
inherited
updatedData() → void
updateDeviceIcon() → void
updateMoreList(MoreModel model) Future<void>

Operators

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