#clearMessages(Conversation.ConversationType, String, RongIMClient.ResultCallback)
。#clearMessagesUnreadStatus(Conversation.ConversationType, String, RongIMClient.ResultCallback)
。#clearTextMessageDraft(Conversation.ConversationType, String, RongIMClient.ResultCallback)
。#deleteMessages(int[], RongIMClient.ResultCallback)
。RongIM.disconnect()
或者RongIM.logout()
方法。#getConversation(Conversation.ConversationType, String, RongIMClient.ResultCallback)
#getConversationList(RongIMClient.ResultCallback)
#getConversationList(RongIMClient.ResultCallback, Conversation.ConversationType...)
#getHistoryMessages(Conversation.ConversationType, String, int, int, RongIMClient.ResultCallback)
。#getHistoryMessages(Conversation.ConversationType, String, String, int, int, RongIMClient.ResultCallback)
。#getLatestMessages(Conversation.ConversationType, String, int, RongIMClient.ResultCallback)
。#getTextMessageDraft(Conversation.ConversationType, String, RongIMClient.ResultCallback)
。#getTotalUnreadCount(RongIMClient.ResultCallback)
。#getUnreadCount(Conversation.ConversationType, String, RongIMClient.ResultCallback)
。#getUnreadCount(RongIMClient.ResultCallback, Conversation.ConversationType...)
。#insertIncomingMessage(Conversation.ConversationType, String, String, Message.ReceivedStatus, MessageContent, long, RongIMClient.ResultCallback)
#insertOutgoingMessage(Conversation.ConversationType, String, Message.SentStatus, MessageContent, long, RongIMClient.ResultCallback)
#insertIncomingMessage(Conversation.ConversationType, String, String, Message.ReceivedStatus, MessageContent, RongIMClient.ResultCallback)
#insertOutgoingMessage(Conversation.ConversationType, String, Message.SentStatus, MessageContent, RongIMClient.ResultCallback)
#insertMessage(Conversation.ConversationType, String, String, MessageContent, RongIMClient.ResultCallback)
。RongIM.recallMessage(Message, String)
#removeConversation(Conversation.ConversationType, String, RongIMClient.ResultCallback)
RongIM.ConversationClickListener
#saveTextMessageDraft(Conversation.ConversationType, String, String, RongIMClient.ResultCallback)
。Message
消息实体,消息实体中的 content 必须为 FileMessage
, 否则返回失败。#setConversationToTop(Conversation.ConversationType, String, boolean, RongIMClient.ResultCallback)
。RongIM.GroupUserInfoProvider.getGroupUserInfo(String, String)
使用者只需要根据对应的 groupId, userId 提供对应的用户信息 GroupUserInfo
。#setMessageExtra(int, String, RongIMClient.ResultCallback)
。#setMessageReceivedStatus(int, Message.ReceivedStatus, RongIMClient.ResultCallback)
。#setMessageSentStatus(Message, RongIMClient.ResultCallback)
。io.rong.imlib.model.Conversation.ConversationType
对应不同的会话类型,开启不同的会话界面。Copyright © 2020 RongCloud. All Rights Reserved.