Chat SDK for Android v1.2.1
agora java chat SDK
|
Public Member Functions | |
void | onChatThreadCreated (ChatThreadEvent event) |
void | onChatThreadUpdated (ChatThreadEvent event) |
void | onChatThreadDestroyed (ChatThreadEvent event) |
void | onChatThreadUserRemoved (ChatThreadEvent 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: ChatClient.getInstance().chatThreadManager().addChatThreadChangeListener(mChatThreadChangeListener); Removes a message thread event listener: ChatClient.getInstance().chatThreadManager().removeChatThreadChangeListener(mChatThreadChangeListener);
void io.agora.ChatThreadChangeListener.onChatThreadCreated | ( | ChatThreadEvent | event | ) |
Occurs when a message thread is created.
Each member of the group to which the message thread belongs can receive the callback.
void io.agora.ChatThreadChangeListener.onChatThreadDestroyed | ( | ChatThreadEvent | event | ) |
Occurs when a message thread is destroyed.
Each member of the group to which the message thread belongs can receive the callback.
void io.agora.ChatThreadChangeListener.onChatThreadUpdated | ( | ChatThreadEvent | 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 io.agora.ChatThreadChangeListener.onChatThreadUserRemoved | ( | ChatThreadEvent | 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.