ChatThreadManagerDefault class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventHandler(String identifier, EMChatThreadEventHandler handler) → void
~english Adds the chat thread event handler. After calling this method, you can handle for chat thread event when they arrive.
inherited
clearEventHandlers() → void
~english Clear all chat thread event handlers. ~end
inherited
createChatThread({required String name, required String messageId, required String parentId}) Future<EMChatThread>
~english Create Chat Thread.
inherited
destroyChatThread({required String chatThreadId}) Future<void>
~english Disband Chat Thread.
inherited
fetchChatThread({required String chatThreadId}) Future<EMChatThread?>
~english Get Chat Thread details from server.
inherited
fetchChatThreadMembers({required String chatThreadId, String? cursor, int limit = 20}) Future<EMCursorResult<String>>
~english Paging to get Chat Thread members.
inherited
fetchChatThreadsWithParentId({required String parentId, String? cursor, int limit = 20}) Future<EMCursorResult<EMChatThread>>
~english Get the subareas under a group from the server
inherited
fetchJoinedChatThreads({String? cursor, int limit = 20}) Future<EMCursorResult<EMChatThread>>
~english Paging to get the list of Chat Threads that the current user has joined from the server
inherited
fetchJoinedChatThreadsWithParentId({required String parentId, String? cursor, int limit = 20}) Future<EMCursorResult<EMChatThread>>
~english Paging to get the list of Chat Threads that the current user has joined the specified group from the server。
inherited
fetchLatestMessageWithChatThreads({required List<String> chatThreadIds}) Future<Map<String, EMMessage>>
~english Get the latest news of the specified Chat Thread list from the server.
inherited
getEventHandler(String identifier) EMChatThreadEventHandler?
~english Get the chat thread event handler.
inherited
initHandler() → void
inherited
joinChatThread({required String chatThreadId}) Future<EMChatThread>
~english Join Chat Thread.
inherited
leaveChatThread({required String chatThreadId}) Future<void>
~english Leave Chat Thread.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventHandler(String identifier) → void
~english Remove the chat thread event handler.
inherited
removeMemberFromChatThread({required String memberId, required String chatThreadId}) Future<void>
~english Remove member from Chat Thread.
inherited
toString() String
A string representation of this object.
inherited
updateChatThreadName({required String chatThreadId, required String newName}) Future<void>
~english Change Chat Thread name.
inherited

Operators

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