EMChatThreadManagerListener class

The message thread listener interface, which listens for message thread events such as creating or leaving a message thread.

Adds a message thread event listener: EMClient.getInstance.chatThreadManager.addChatThreadManagerListener(listener);

Removes a message thread event listener: EMClient.getInstance.chatThreadManager.removeChatThreadManagerListener(listener);

Annotations
  • @Deprecated("Use EMChatThreadEventHandler to instead")

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChatThreadCreate(EMChatThreadEvent event) → void
Occurs when a message thread is created.
onChatThreadDestroy(EMChatThreadEvent event) → void
Occurs when a message thread is destroyed.
onChatThreadUpdate(EMChatThreadEvent event) → void
Occurs when a message thread is updated.
onUserKickOutOfChatThread(EMChatThreadEvent event) → void
Occurs when the current user is removed from the message thread by the group owner or a group admin to which the message thread belongs.
toString() String
A string representation of this object.
inherited

Operators

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