N E Room Context
interface NERoomContext
Content copied to clipboard
房间上下文
Functions
addRoomListener
Link copied to clipboard
changeMemberRole
Link copied to clipboard
abstract fun changeMemberRole(userUuid: String, role: String, callback: NECallback<Unit>)
Content copied to clipboard
changeMyName
Link copied to clipboard
deleteMemberProperty
Link copied to clipboard
abstract fun deleteMemberProperty(userUuid: String, key: String, callback: NECallback<Unit>)
Content copied to clipboard
deleteRoomProperty
Link copied to clipboard
endRoom
Link copied to clipboard
getMember
Link copied to clipboard
handOverMyRole
Link copied to clipboard
abstract fun handOverMyRole(userUuid: String, callback: NECallback<Unit>)
Content copied to clipboard
将自身当前的角色转移给userUuid对应的用户,自身会恢复到默认的房间角色。 只有授权角色才能执行该操作。
kickMemberOut
Link copied to clipboard
leaveRoom
Link copied to clipboard
lockRoom
Link copied to clipboard
removeRoomListener
Link copied to clipboard
unlockRoom
Link copied to clipboard
updateMemberProperty
Link copied to clipboard
abstract fun updateMemberProperty(userUuid: String, key: String, value: String, callback: NECallback<Unit>)
Content copied to clipboard
updateRoomProperty
Link copied to clipboard
abstract fun updateRoomProperty(key: String, value: String, associatedUserUuid: String? = null, callback: NECallback<Unit>)
Content copied to clipboard
Properties
chatController
Link copied to clipboard
isRoomLocked
Link copied to clipboard
liveController
Link copied to clipboard
localMember
Link copied to clipboard
remoteMembers
Link copied to clipboard
roomProperties
Link copied to clipboard
rtcController
Link copied to clipboard
rtcStartTime
Link copied to clipboard
whiteboardController
Link copied to clipboard