ChatThreadManagerListener class Null safety
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: ChatClient.getInstance.chatThreadManager.addChatThreadManagerListener(listener);
Removes a message thread event listener: ChatClient.getInstance.chatThreadManager.removeChatThreadManagerListener(listener);
- Annotations
-
- @Deprecated("Use ChatThreadEventHandler to instead")
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
onChatThreadCreate(
ChatThreadEvent event) → void - Occurs when a message thread is created.
-
onChatThreadDestroy(
ChatThreadEvent event) → void - Occurs when a message thread is destroyed.
-
onChatThreadUpdate(
ChatThreadEvent event) → void - Occurs when a message thread is updated.
-
onUserKickOutOfChatThread(
ChatThreadEvent 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