| 程序包 | 说明 |
|---|---|
| cn.leancloud.im | |
| cn.leancloud.im.v2 | |
| cn.leancloud.im.v2.callback |
| 限定符和类型 | 方法和说明 |
|---|---|
List<AVIMConversation> |
DatabaseDelegate.queryConversations(String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit) |
List<AVIMConversation> |
DatabaseDelegate.rawQueryConversations(String sql,
String[] selectionArgs) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AVIMChatRoom |
class |
AVIMServiceConversation |
class |
AVIMTemporaryConversation |
| 限定符和类型 | 方法和说明 |
|---|---|
AVIMConversation |
AVIMClient.getChatRoom(String conversationId)
get an existed Chatroom by id
|
AVIMConversation |
AVIMMessageStorage.getConversation(String conversationId) |
AVIMConversation |
AVIMClient.getConversation(String conversationId)
get conversation by id
|
AVIMConversation |
AVIMClient.getConversation(String conversationId,
boolean isTransient,
boolean isTemporary)
get an existed conversation
|
AVIMConversation |
AVIMClient.getConversation(String conversationId,
int convType)
get conversation by id and type
|
AVIMConversation |
AVIMClient.getServiceConversation(String conversationId)
get an existed Service Conversation
|
AVIMConversation |
AVIMClient.getTemporaryConversation(String conversationId)
get an existed temporary conversation
|
static AVIMConversation |
AVIMConversation.parseFromJson(AVIMClient client,
Map<String,Object> jsonObj)
parse AVIMConversation from jsonObject
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<AVIMConversation> |
AVIMMessageStorage.getCachedConversations(List<String> conversationIds) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ConversationSynchronizer.changeUpdatedTime(AVIMConversation conversation,
String updatedAt) |
static void |
ConversationSynchronizer.mergeConversationFromJsonObject(AVIMConversation conversation,
JSONObject postObj,
JSONObject allAttrs) |
static void |
ConversationSynchronizer.mergeMembers(AVIMConversation conversation,
List<String> members) |
void |
AVIMConversationEventHandler.onBlocked(AVIMClient client,
AVIMConversation conversation,
String operator)
当前用户被加入黑名单通知处理函数
|
void |
AVIMConversationEventHandler.onInfoChanged(AVIMClient client,
AVIMConversation conversation,
JSONObject attr,
String operator)
对话自身属性变更通知
|
abstract void |
AVIMConversationEventHandler.onInvited(AVIMClient client,
AVIMConversation conversation,
String operator)
实现本方法来处理当前用户被邀请到某个聊天对话事件
|
abstract void |
AVIMConversationEventHandler.onKicked(AVIMClient client,
AVIMConversation conversation,
String kickedBy)
实现本方法来处理当前用户被踢出某个聊天对话事件
|
void |
AVIMConversationEventHandler.onLastDeliveredAtUpdated(AVIMClient client,
AVIMConversation conversation)
实现本地方法来处理对方已经接收消息的通知
|
void |
AVIMConversationEventHandler.onLastReadAtUpdated(AVIMClient client,
AVIMConversation conversation)
实现本地方法来处理对方已经阅读消息的通知
|
void |
AVIMConversationEventHandler.onMemberBlocked(AVIMClient client,
AVIMConversation conversation,
List<String> members,
String operator)
聊天室成员被加入黑名单通知处理函数
|
void |
AVIMConversationEventHandler.onMemberInfoUpdated(AVIMClient client,
AVIMConversation conversation,
AVIMConversationMemberInfo memberInfo,
List<String> updatedProperties,
String operator)
对话成员信息变更通知。
|
abstract void |
AVIMConversationEventHandler.onMemberJoined(AVIMClient client,
AVIMConversation conversation,
List<String> members,
String invitedBy)
实现本方法以处理聊天对话中的参与者加入事件
|
abstract void |
AVIMConversationEventHandler.onMemberLeft(AVIMClient client,
AVIMConversation conversation,
List<String> members,
String kickedBy)
实现本方法以处理聊天对话中的参与者离开事件
|
void |
AVIMConversationEventHandler.onMemberMuted(AVIMClient client,
AVIMConversation conversation,
List<String> members,
String operator)
聊天室成员被禁言通知处理函数
|
void |
AVIMConversationEventHandler.onMemberUnblocked(AVIMClient client,
AVIMConversation conversation,
List<String> members,
String operator)
聊天室成员被移出黑名单通知处理函数
|
void |
AVIMConversationEventHandler.onMemberUnmuted(AVIMClient client,
AVIMConversation conversation,
List<String> members,
String operator)
聊天室成员被解除禁言通知处理函数
|
void |
AVIMMessageHandler.onMessage(AVIMMessage message,
AVIMConversation conversation,
AVIMClient client)
重载此方法来处理接收消息
|
void |
AVIMTypedMessageHandler.onMessage(T message,
AVIMConversation conversation,
AVIMClient client)
重载此方法来处理接收消息
|
abstract void |
MessageHandler.onMessage(T message,
AVIMConversation conversation,
AVIMClient client) |
void |
AVIMConversationEventHandler.onMessageRecalled(AVIMClient client,
AVIMConversation conversation,
AVIMMessage message)
实现本地方法来处理消息的撤回事件
|
void |
AVIMMessageHandler.onMessageReceipt(AVIMMessage message,
AVIMConversation conversation,
AVIMClient client)
重载此方法来处理消息回执
|
void |
AVIMTypedMessageHandler.onMessageReceipt(T message,
AVIMConversation conversation,
AVIMClient client)
重载此方法来处理消息回执
|
abstract void |
MessageHandler.onMessageReceipt(T message,
AVIMConversation conversation,
AVIMClient client) |
void |
AVIMMessageHandler.onMessageReceiptEx(AVIMMessage message,
String operator,
AVIMConversation conversation,
AVIMClient client)
重载此方法来处理消息回执
|
void |
AVIMTypedMessageHandler.onMessageReceiptEx(T message,
String operator,
AVIMConversation conversation,
AVIMClient client) |
abstract void |
MessageHandler.onMessageReceiptEx(T message,
String operator,
AVIMConversation conversation,
AVIMClient client) |
void |
AVIMConversationEventHandler.onMessageUpdated(AVIMClient client,
AVIMConversation conversation,
AVIMMessage message)
实现本地方法来处理消息的更新事件
|
void |
AVIMConversationEventHandler.onMuted(AVIMClient client,
AVIMConversation conversation,
String operator)
当前用户被禁言通知处理函数
|
void |
AVIMConversationEventHandler.onUnblocked(AVIMClient client,
AVIMConversation conversation,
String operator)
当前用户被移出黑名单通知处理函数
|
void |
AVIMConversationEventHandler.onUnmuted(AVIMClient client,
AVIMConversation conversation,
String operator)
当前用户被解除禁言通知处理函数
|
void |
AVIMConversationEventHandler.onUnreadMessagesCountUpdated(AVIMClient client,
AVIMConversation conversation)
实现本地方法来处理未读消息数量的通知
|
static void |
AVIMMessageManagerHelper.removeConversationCache(AVIMConversation conversation) |
static void |
ConversationSynchronizer.removeMembers(AVIMConversation conversation,
List<String> members) |
boolean |
AVIMMessageStorage.updateConversationLastMessageAt(AVIMConversation conversation) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
AVIMMessageStorage.insertConversations(List<AVIMConversation> conversations) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
AVIMConversationCreatedCallback.done(AVIMConversation conversation,
AVIMException e) |
protected void |
AVIMConversationCreatedCallback.internalDone0(AVIMConversation returnValue,
AVException e) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
AVIMConversationQueryCallback.done(List<AVIMConversation> conversations,
AVIMException e) |
protected void |
AVIMConversationQueryCallback.internalDone0(List<AVIMConversation> returnValue,
AVException e) |
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.