hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Public Member Functions | |
void | onChatThreadCreated (EMChatThreadEvent event) |
void | onChatThreadUpdated (EMChatThreadEvent event) |
void | onChatThreadDestroyed (EMChatThreadEvent event) |
void | onChatThreadUserRemoved (EMChatThreadEvent event) |
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().addChatThreadChangeListener(mChatThreadChangeListener); Removes a message thread event listener: EMClient.getInstance().chatThreadManager().removeChatThreadChangeListener(mChatThreadChangeListener);
void com.hyphenate.EMChatThreadChangeListener.onChatThreadCreated | ( | EMChatThreadEvent | event | ) |
Occurs when a message thread is created.
Each member of the group to which the message thread belongs can receive the callback.
void com.hyphenate.EMChatThreadChangeListener.onChatThreadDestroyed | ( | EMChatThreadEvent | event | ) |
Occurs when a message thread is destroyed.
Each member of the group to which the message thread belongs can receive the callback.
void com.hyphenate.EMChatThreadChangeListener.onChatThreadUpdated | ( | EMChatThreadEvent | event | ) |
Occurs when a message thread is updated.
This callback is triggered when the message thread name is changed or a threaded reply is added or recalled.
Each member of the group to which the message thread belongs can receive the callback.
void com.hyphenate.EMChatThreadChangeListener.onChatThreadUserRemoved | ( | EMChatThreadEvent | event | ) |
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.