RoomActions mixin
- Superclass constraints
- Mixin applications
-
Methods
-
addAttributes({required String roomId, required Map<String, String> attributes, bool deleteWhenLeft = false, bool overwrite = false})
→ Future<Map<String, int>?>
-
-
addChatRoomAdmin({required String roomId, required String admin})
→ Future<void>
-
-
addListeners()
→ void
-
inherited
-
addMembersToChatRoomAllowList({required String roomId, required List<String> members})
→ Future<void>
-
-
addObserver(ChatUIKitObserverBase observer)
→ void
-
inherited
-
blockChatRoomMembers({required String roomId, required List<String> members})
→ Future<void>
-
-
changeChatRoomDescription({required String roomId, required String description})
→ Future<void>
-
-
changeChatRoomName({required String roomId, required String name})
→ Future<void>
-
-
changeOwner({required String roomId, required String newOwner})
→ Future<void>
-
-
checkResult<T>(ChatSDKEvent actionEvent, Future<T> method())
→ Future<T>
-
inherited
-
createChatRoom({required String name, String? desc, String? welcomeMsg, int maxUserCount = 300, List<String>? members})
→ Future<ChatRoom>
-
-
destroyChatRoom(String roomId)
→ Future<void>
-
-
fetchChatRoomAllowListFromServer({required String roomId})
→ Future<List<String>>
-
-
fetchChatRoomAnnouncement({required String roomId})
→ Future<String?>
-
-
fetchChatRoomAttributes({required String roomId, List<String>? keys})
→ Future<Map<String, String>?>
-
-
fetchChatRoomBlockList({required String roomId, int pageNum = 1, int pageSize = 200})
→ Future<List<String>>
-
-
fetchChatRoomInfoFromServer({required String roomId, bool fetchMembers = false})
→ Future<ChatRoom>
-
-
fetchChatRoomMembers({required String roomId, String? cursor, int pageSize = 200})
→ Future<CursorResult<String>>
-
-
fetchChatRoomMuteList({required String roomId, int pageNum = 1, int pageSize = 200})
→ Future<List<String>>
-
-
fetchPublicChatRoomsFromServer({int pageNum = 1, int pageSize = 200})
→ Future<PageResult<ChatRoom>>
-
-
getChatRoomWithId(String roomId)
→ Future<ChatRoom?>
-
-
isMemberInChatRoomAllowList({required String roomId})
→ Future<bool>
-
-
joinChatRoom({required String roomId, bool leaveOther = true, String? ext})
→ Future<void>
-
-
leaveChatRoom(String roomId)
→ Future<void>
-
-
muteAllChatRoomMembers({required String roomId})
→ Future<void>
-
-
muteChatRoomMembers({required String roomId, required List<String> muteMembers, int duration = -1})
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onAdminAddedFromChatRoom(String roomId, String admin)
→ void
-
inherited
-
onAdminRemovedFromChatRoom(String roomId, String admin)
→ void
-
inherited
-
onAllChatRoomMemberMuteStateChanged(String roomId, bool isAllMuted)
→ void
-
inherited
-
onAllowListAddedFromChatRoom(String roomId, List<String> members)
→ void
-
inherited
-
onAllowListRemovedFromChatRoom(String roomId, List<String> members)
→ void
-
inherited
-
onAnnouncementChangedFromChatRoom(String roomId, String announcement)
→ void
-
inherited
-
onAttributesRemoved(String roomId, List<String> removedKeys, String from)
→ void
-
inherited
-
onAttributesUpdated(String roomId, Map<String, String> attributes, String from)
→ void
-
inherited
-
onChatRoomDestroyed(String roomId, String? roomName)
→ void
-
inherited
-
onMemberExitedFromChatRoom(String roomId, String? roomName, String participant)
→ void
-
inherited
-
onMemberJoinedFromChatRoom(String roomId, String participant, String? ext)
→ void
-
inherited
-
onMuteListAddedFromChatRoom(String roomId, List<String> mutes, String? expireTime)
→ void
-
inherited
-
onMuteListRemovedFromChatRoom(String roomId, List<String> mutes)
→ void
-
inherited
-
onOwnerChangedFromChatRoom(String roomId, String newOwner, String oldOwner)
→ void
-
inherited
-
onRemovedFromChatRoom(String roomId, String? roomName, String? participant, LeaveReason? reason)
→ void
-
inherited
-
onSpecificationChanged(ChatRoom room)
→ void
-
inherited
-
removeAttributes({required String roomId, required List<String> keys, bool force = false})
→ Future<Map<String, int>?>
-
-
removeChatRoomAdmin({required String roomId, required String admin})
→ Future<void>
-
-
removeChatRoomMembers({required String roomId, required List<String> members})
→ Future<void>
-
-
removeListeners()
→ void
-
inherited
-
removeMembersFromChatRoomAllowList({required String roomId, required List<String> members})
→ Future<void>
-
-
removeObserver(ChatUIKitObserverBase observer)
→ void
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
unBlockChatRoomMembers({required String roomId, required List<String> members})
→ Future<void>
-
-
unMuteAllChatRoomMembers({required String roomId})
→ Future<void>
-
-
unMuteChatRoomMembers({required String roomId, required List<String> unMuteMembers})
→ Future<void>
-
-
updateChatRoomAnnouncement({required String roomId, required String announcement})
→ Future<void>
-