ConversationEventListener

public interface ConversationEventListener

Functions

Link copied to clipboard
public void onChannelChange(String groupId, String channelId, UltraGroupChannelType type)
Link copied to clipboard
public void onChannelDelete(String groupId, String channelId)
Link copied to clipboard
public void onChannelKicked(String groupId, String channelId, String userId)
Link copied to clipboard
public abstract void onClearConversations(Array<ConversationType> conversationTypes)
清除某类会话。
Link copied to clipboard
public void onClearedMessage(ConversationIdentifier conversationIdentifier)

public abstract void onClearedMessage(ConversationType type, String targetId)
根据会话类型,清空某一会话的所有聊天消息记录,回调此方法。
Link copied to clipboard
public void onClearedUnreadStatus(ConversationIdentifier conversationIdentifier)

public abstract void onClearedUnreadStatus(ConversationType type, String targetId)
清除某会话的所有消息未读状态时,回调此方法。
Link copied to clipboard
public abstract void onConversationRemoved(ConversationType type, String targetId)
从会话列表删除某会话时的回调。
Link copied to clipboard
public void onMessageReceivedStatusChange(int messageId, ConversationType conversationType, String targetId, ReceivedStatus status)
Link copied to clipboard
public abstract void onOperationFailed(ErrorCode code)
操作失败的回调。
Link copied to clipboard
public void onSaveDraft(ConversationIdentifier conversationIdentifier, String content)

public abstract void onSaveDraft(ConversationType type, String targetId, String content)
会话里保存草稿时,回调此方法