NERoomContext class Null safety

Room context

Mixed in types

Constructors

NERoomContext()

Properties

chatController NERoomChatController
Get the chat room controller
read-only
hashCode int
The hash code for this object.
read-only, inherited
isRoomLocked bool
Get whether the room is locked
read-only
liveController NERoomLiveController
Get the live streaming controller
read-only
localMember NERoomMember
Local member
read-only
password String?
Room password
read-only
remainingSeconds double?
Get the remaining time of a room
read-only
remoteMembers List<NERoomMember>
Remote members (excluding the local member)
read-only
roomName String
Room member
read-only
roomProperties Map<String, String>
Get the room properties
read-only
roomUuid String
Unique room identifier
read-only
rtcController NERoomRtcController
Get the RTC controller
read-only
rtcStartTime int
Start time of an RTC room in milliseconds
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sipCid String?
Get whether the room is locked
read-only
whiteboardController NERoomWhiteboardController
Get the Whiteboard controller
read-only

Methods

addAttachment(String name, dynamic attachment) → void
inherited
addEventCallback(NERoomEventCallback callback) → void
Add callbacks for room events
changeMemberRole(String userUuid, String role) Future<VoidResult>
Change the member role.
changeMyName(String name) Future<VoidResult>
Edit the nickname
clearAttachments() → void
inherited
deleteMemberProperty(String userUuid, String key) Future<VoidResult>
Delete a member property
deleteRoomProperty(String key) Future<VoidResult>
Delete a room property
endRoom() Future<VoidResult>
Close a room
getAttachment(String name) → dynamic
inherited
getMember(String? uuid) NERoomMember?
Get members using uuid
handOverMyRole(String userUuid) Future<VoidResult>
Transfer the role of the current user to the user with userUuid, and the current user will restore to the default room role. Only authorized users can perform this operation.
kickMemberOut(String userUuid) Future<VoidResult>
Remove a member userUuid user ID
leaveRoom() Future<VoidResult>
A user leaves a room
lockRoom() Future<VoidResult>
Lock a room Users cannot join a locked room.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removeAttachment(String name) → void
inherited
removeEventCallback(NERoomEventCallback callback) → void
Remove callbacks for room events
toString() String
A string representation of this object.
inherited
unlockRoom() Future<VoidResult>
Unlock a room. Users can join an unlocked room
updateMemberProperty(String userUuid, String key, String value) Future<VoidResult>
Update a member property
updateRoomProperty(String key, String value, {String? associatedUuid}) Future<VoidResult>
Update the properties of a room

Operators

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