Package | Description |
---|---|
cn.leancloud.im | |
cn.leancloud.im.v2 | |
cn.leancloud.im.v2.callback |
Modifier and Type | Method and Description |
---|---|
List<LCIMConversation> |
DatabaseDelegate.queryConversations(String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit) |
List<LCIMConversation> |
DatabaseDelegate.rawQueryConversations(String sql,
String[] selectionArgs) |
Modifier and Type | Class and Description |
---|---|
class |
LCIMChatRoom |
class |
LCIMServiceConversation |
class |
LCIMTemporaryConversation |
Modifier and Type | Method and Description |
---|---|
LCIMConversation |
LCIMClient.getChatRoom(String conversationId)
get an existed Chatroom by id
|
LCIMConversation |
LCIMClient.getConversation(String conversationId)
get conversation by id
|
LCIMConversation |
LCIMMessageStorage.getConversation(String conversationId) |
LCIMConversation |
LCIMClient.getConversation(String conversationId,
boolean isTransient,
boolean isTemporary)
get an existed conversation
|
LCIMConversation |
LCIMClient.getConversation(String conversationId,
int convType)
get conversation by id and type
|
LCIMConversation |
LCIMClient.getServiceConversation(String conversationId)
get an existed Service Conversation
|
LCIMConversation |
LCIMClient.getTemporaryConversation(String conversationId)
get an existed temporary conversation
|
static LCIMConversation |
LCIMConversation.parseFromJson(LCIMClient client,
Map<String,Object> jsonObj)
parse LCIMConversation from jsonObject
|
Modifier and Type | Method and Description |
---|---|
List<LCIMConversation> |
LCIMMessageStorage.getCachedConversations(List<String> conversationIds) |
Modifier and Type | Method and Description |
---|---|
static void |
ConversationSynchronizer.changeUpdatedTime(LCIMConversation conversation,
String updatedAt) |
static void |
ConversationSynchronizer.mergeConversationFromJsonObject(LCIMConversation conversation,
JSONObject postObj,
JSONObject allAttrs) |
static void |
ConversationSynchronizer.mergeMembers(LCIMConversation conversation,
List<String> members) |
void |
LCIMConversationEventHandler.onBlocked(LCIMClient client,
LCIMConversation conversation,
String operator)
当前用户被加入黑名单通知处理函数
|
void |
LCIMConversationEventHandler.onInfoChanged(LCIMClient client,
LCIMConversation conversation,
JSONObject attr,
String operator)
对话自身属性变更通知
|
abstract void |
LCIMConversationEventHandler.onInvited(LCIMClient client,
LCIMConversation conversation,
String operator)
实现本方法来处理当前用户被邀请到某个聊天对话事件
|
abstract void |
LCIMConversationEventHandler.onKicked(LCIMClient client,
LCIMConversation conversation,
String kickedBy)
实现本方法来处理当前用户被踢出某个聊天对话事件
|
void |
LCIMConversationEventHandler.onLastDeliveredAtUpdated(LCIMClient client,
LCIMConversation conversation)
实现本地方法来处理对方已经接收消息的通知
|
void |
LCIMConversationEventHandler.onLastReadAtUpdated(LCIMClient client,
LCIMConversation conversation)
实现本地方法来处理对方已经阅读消息的通知
|
void |
LCIMConversationEventHandler.onMemberBlocked(LCIMClient client,
LCIMConversation conversation,
List<String> members,
String operator)
聊天室成员被加入黑名单通知处理函数
|
void |
LCIMConversationEventHandler.onMemberInfoUpdated(LCIMClient client,
LCIMConversation conversation,
LCIMConversationMemberInfo memberInfo,
List<String> updatedProperties,
String operator)
对话成员信息变更通知。
常见的有:某成员权限发生变化(如,被设为管理员等)。
|
abstract void |
LCIMConversationEventHandler.onMemberJoined(LCIMClient client,
LCIMConversation conversation,
List<String> members,
String invitedBy)
实现本方法以处理聊天对话中的参与者加入事件
|
abstract void |
LCIMConversationEventHandler.onMemberLeft(LCIMClient client,
LCIMConversation conversation,
List<String> members,
String kickedBy)
实现本方法以处理聊天对话中的参与者离开事件
|
void |
LCIMConversationEventHandler.onMemberMuted(LCIMClient client,
LCIMConversation conversation,
List<String> members,
String operator)
聊天室成员被禁言通知处理函数
|
void |
LCIMConversationEventHandler.onMemberUnblocked(LCIMClient client,
LCIMConversation conversation,
List<String> members,
String operator)
聊天室成员被移出黑名单通知处理函数
|
void |
LCIMConversationEventHandler.onMemberUnmuted(LCIMClient client,
LCIMConversation conversation,
List<String> members,
String operator)
聊天室成员被解除禁言通知处理函数
|
void |
LCIMMessageHandler.onMessage(LCIMMessage message,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理接收消息
|
void |
LCIMTypedMessageHandler.onMessage(T message,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理接收消息
|
abstract void |
MessageHandler.onMessage(T message,
LCIMConversation conversation,
LCIMClient client) |
void |
LCIMConversationEventHandler.onMessageRecalled(LCIMClient client,
LCIMConversation conversation,
LCIMMessage message)
实现本地方法来处理消息的撤回事件
|
void |
LCIMMessageHandler.onMessageReceipt(LCIMMessage message,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理消息回执
|
void |
LCIMTypedMessageHandler.onMessageReceipt(T message,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理消息回执
|
abstract void |
MessageHandler.onMessageReceipt(T message,
LCIMConversation conversation,
LCIMClient client) |
void |
LCIMMessageHandler.onMessageReceiptEx(LCIMMessage message,
String operator,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理消息回执
|
void |
LCIMTypedMessageHandler.onMessageReceiptEx(T message,
String operator,
LCIMConversation conversation,
LCIMClient client) |
abstract void |
MessageHandler.onMessageReceiptEx(T message,
String operator,
LCIMConversation conversation,
LCIMClient client) |
void |
LCIMConversationEventHandler.onMessageUpdated(LCIMClient client,
LCIMConversation conversation,
LCIMMessage message)
实现本地方法来处理消息的更新事件
|
void |
LCIMConversationEventHandler.onMuted(LCIMClient client,
LCIMConversation conversation,
String operator)
当前用户被禁言通知处理函数
|
void |
LCIMConversationEventHandler.onUnblocked(LCIMClient client,
LCIMConversation conversation,
String operator)
当前用户被移出黑名单通知处理函数
|
void |
LCIMConversationEventHandler.onUnmuted(LCIMClient client,
LCIMConversation conversation,
String operator)
当前用户被解除禁言通知处理函数
|
void |
LCIMConversationEventHandler.onUnreadMessagesCountUpdated(LCIMClient client,
LCIMConversation conversation)
实现本地方法来处理未读消息数量的通知
|
static void |
LCIMMessageManagerHelper.removeConversationCache(LCIMConversation conversation) |
static void |
ConversationSynchronizer.removeMembers(LCIMConversation conversation,
List<String> members) |
boolean |
LCIMMessageStorage.updateConversationLastMessageAt(LCIMConversation conversation) |
Modifier and Type | Method and Description |
---|---|
int |
LCIMMessageStorage.insertConversations(List<LCIMConversation> conversations) |
Modifier and Type | Method and Description |
---|---|
abstract void |
LCIMConversationCreatedCallback.done(LCIMConversation conversation,
LCIMException e) |
protected void |
LCIMConversationCreatedCallback.internalDone0(LCIMConversation returnValue,
LCException e) |
Modifier and Type | Method and Description |
---|---|
abstract void |
LCIMConversationQueryCallback.done(List<LCIMConversation> conversations,
LCIMException e) |
protected void |
LCIMConversationQueryCallback.internalDone0(List<LCIMConversation> returnValue,
LCException e) |
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.