Package io.rong.imlib
Class LibHandlerStub
-
- All Implemented Interfaces:
public class LibHandlerStub
-
-
Constructor Summary
Constructors Constructor Description LibHandlerStub(Context context, String appKey, String deviceId, RCConfiguration configuration, String soDir, int pingTimeout, boolean isBackupDb)
-
Method Summary
Modifier and Type Method Description voidinitAppendixModule()voidconnect(ConnectOption option, boolean isReconnect, boolean inForeground, int rsn, IConnectStringCallback callback)voiddisconnect(boolean isReceivePush, IOperationCallback callback)voidregisterMessageType(String className)voidregisterMessageTypes(List<String> classNameList)voidregisterMessageTypeByCustomMessageInfos(List<CustomMessageInfo> list)voidgetTotalUnreadCount(String channelId, boolean containBlocked, IIntegerCallback callback)voidgetUnreadCountByConversation(Array<Conversation> conversations, IIntegerCallback callback)voidgetUnreadCount(String channelId, Array<int> types, IIntegerCallback callback)voidgetUnreadCountWithDND(String channelId, Array<int> types, boolean withDND, IIntegerCallback callback)voidgetUnreadCountById(int type, String id, String channelId, IIntegerCallback callback)voidgetMessageCount(int type, String id, String channelId, IIntegerCallback callback)voidsetOnReceiveMessageListener(OnReceiveMessageListener listener)voidsetConnectionStatusListener(IConnectionStatusListener listener)voidinitIPCEnviroment(ConnectOption option, int status)voidgetMessage(int messageId, IResultCallback callback)MessageinsertSettingMessage(Message message)voidsendMessageOption(Message message, String pushContent, String pushData, SendMessageOption option, ISendMessageCallback callback)voidsendDirectionalMessage(Message message, String pushContent, String pushData, Array<String> userIds, ISendMessageCallback callback)voidsendDirectionalMessageOption(Message message, String pushContent, String pushData, Array<String> userIds, SendMessageOption option, ISendMessageCallback callback)voidsendMediaMessage(Message message, String pushContent, String pushData, ISendMediaMessageCallback sendMediaMessageCallback)voidsendMediaMessageOption(Message message, String pushContent, String pushData, SendMessageOption option, ISendMediaMessageCallback sendMediaMessageCallback)voidsendDirectionalMediaMessage(Message message, Array<String> userIds, String pushContent, String pushData, ISendMediaMessageCallback sendMediaMessageCallback)发送定向多媒体消息 voidgetNewestMessages(Conversation conversation, int count, IProgressResultCallback callback)voidgetOlderMessages(Conversation conversation, long flagId, int count, IProgressResultCallback callback)voidgetRemoteHistoryMessages(Conversation conversation, long dataTime, int count, IResultCallbackEx callback)voidgetRemoteHistoryMessagesOption(Conversation conversation, RemoteHistoryMsgOption remoteHistoryMsgOption, IResultCallbackEx callback)voidcleanRemoteHistoryMessages(Conversation conversation, long recordTime, IOperationCallback callback)voidcleanHistoryMessages(Conversation conversation, long recordTime, IOperationCallback callback)voidsetPushSetting(int key, String value, IOperationCallback callback)voidgetPushSetting(int key, IStringCallback callback)voidgetOlderMessagesByObjectName(Conversation conversation, String objectName, long flagId, int count, boolean flag, IProgressResultCallback callback)voidgetOlderMessagesByObjectNames(Conversation conversation, List<String> objectNames, long flagId, int count, boolean flag, IProgressResultCallback callback)voidgetMessages(Conversation conversation, long timestamp, int count, boolean flag, IGetMessageWithProcessCallback callback)voidgetOlderMessagesByObjectNamesSync(Conversation conversation, List<String> objectNames, long timestamp, int count, boolean flag, IProgressResultCallback callback)booleandeleteMessage(Array<int> ids)voiddeleteMessages(int conversationType, String targetId, String channelId, Array<Message> messages, IOperationCallback callback)voiddeleteConversationMessage(int conversationType, String targetId, String channelId, IBooleanCallback callback)voidclearMessages(Conversation conversation, IBooleanCallback callback)voidclearMessagesByBatch(List<ClearMessageOption> clearMessageOptionList, IBooleanCallback callback)voidclearRemoteMessagesByBatch(List<ClearMessageOption> clearMessageOptionList, boolean isDeleteLocal, IOperationCallback callback)voidclearMessagesUnreadStatus(Conversation conversation, IBooleanCallback callback)voidsetMessageExtra(int messageId, String values, IBooleanCallback callback)booleansetMessageReceivedStatus(int messageId, int status)voidsetMessageSentStatus(int messageId, int status, IBooleanCallback callback)MessagegetMessageByUid(String uid)voidgetTopConversationList(Array<int> types, String channelId, int countPerBatch, IProgressResultCallback callback)voidgetConversationListByBatch(String channelId, int countPerBatch, IProgressResultCallback callback)voidgetConversationListOfTypesByBatch(String channelId, Array<int> types, int countPerBatch, IProgressResultCallback callback)voidgetConversationListByPage(Array<int> types, long timeStamp, int count, String channelId, boolean topPriority, int countPerBatch, IProgressResultCallback callback)voidgetBlockedConversationList(Array<int> types, String channelId, IProgressResultCallback callback)voidgetConversation(int type, String targetId, String channelId, IResultCallback callback)voidgetConversations(List<ConversationIdentifier> conversationIdentifiers, IProgressResultCallback callback)voidremoveConversation(int typeValue, String targetId, String channelId, IBooleanCallback callback)voidremoveConversations(List<ConversationIdentifier> conversationIdentifierList, IBooleanCallback callback)voidgetConversationNotificationStatus(int type, String targetId, String channelId, ILongCallback callback)voidsetConversationNotificationStatus(int type, String targetId, String channelId, int level, IOperationCallback callback)voidsetConversationTopStatus(int typeValue, String targetId, String channelId, boolean isTop, boolean needCreate, boolean needUpdateTime, IBooleanCallback callback)voidsetConversationsTopStatus(List<ConversationIdentifier> conversationIdentifierList, boolean isTop, boolean needCreate, IBooleanCallback callback)voidsetConversationsToTop(List<ConversationIdentifier> conversationIdentifierList, boolean isTop, ConversationTopOption option, IBooleanCallback callback)voidclearConversations(String channelId, Array<int> types, IBooleanCallback callback)voidsetNotificationQuietHours(String startTime, int spanMinutes, String timeZone, int level, IOperationCallback callback)voidremoveNotificationQuietHours(IOperationCallback callback)voidgetNotificationQuietHours(IGetNotificationQuietHoursCallback callback)voidupdateConversationInfo(int type, String targetId, String channelId, String title, String portrait, IBooleanCallback callback)voidgetUnreadConversationListOfTypesByBatch(Array<int> types, int countPerBatch, IProgressResultCallback callback)voiduploadMedia(Message message, IUploadCallback callback)voiddownloadMedia(Conversation conversation, int type, String mediaUrl, IDownloadMediaCallback callback)voiddownloadMediaMessage(Message message, IDownloadMediaMessageCallback callback)voiddownloadMediaFile(String uid, String fileUrl, String fileName, String path, IDownloadMediaFileCallback callback)voidcancelSendMediaMessage(Message message, IOperationCallback callback)voidcancelDownloadMediaMessage(Message message, IOperationCallback callback)voidpauseTransferMediaMessage(Message message, IOperationCallback callback)voidpauseTransferMediaFile(String tag, IOperationCallback callback)booleangetFileDownloadingStatus(String uid)voidgetDownloadInfo(String tag, IResultCallback callback)voidsupportResumeBrokenTransfer(String url, IBooleanCallback callback)voidcancelAllDownloadMediaMessage(IOperationCallback callback)longgetDeltaTime()voidrecallMessage(String objectName, Array<byte> content, String pushContent, Message message, boolean disablePush, IOperationCallback callback)voidaddToBlacklist(String userId, IOperationCallback callback)voidremoveFromBlacklist(String userId, IOperationCallback callback)voidgetTextMessageDraft(Conversation conversation, IStringCallback callback)voidsaveTextMessageDraft(Conversation conversation, String content, IBooleanCallback callback)voidclearTextMessageDraft(Conversation conversation, IBooleanCallback callback)voidgetBlacklist(IStringCallback callback)voidgetBlacklistStatus(String userId, IIntegerCallback callback)voidgetMediaUploadAuthorInfo(String fileName, String url, IResultCallback callback)voidupdateMessageReceiptStatus(String targetId, int categoryId, String channelId, long timestamp, IBooleanCallback callback)voidclearUnreadByReceipt(int conversationType, String targetId, String channelId, long timestamp, IBooleanCallback callback)longgetSendTimeByMessageId(int messageId)voidgetVoIPKey(int engineType, String channelName, String extra, IStringCallback callback)StringgetVoIPCallInfo()booleanisGzipEnabled()StringgetCurrentUserId()StringgetNavPreferenceValue(String navPreferenceKey)voidrequestNav(String appKey, String token, boolean notify, int reason)voidaddNaviObserver(INavigationObserver observer)voidsetInitOption(InitOption initOption)booleansetMessageContent(int messageId, Array<byte> messageContent, String objectName)booleanupdateReadReceiptRequestInfo(String msgUId, String info)voidregisterCmdMsgType(String objName)voidregisterCmdMsgTypes(List<String> objNameList)voidregisterDeleteMessageType(List<String> objNames)voidsearchMessages(String targetId, int conversationType, String channelId, String keyword, int count, long timestamp, IProgressResultCallback callback)voidsearchMessagesByUser(String targetId, int conversationType, String channelId, String userId, int count, long timestamp, IProgressResultCallback callback)voidsearchMessagesForChannels(String targetId, int conversationType, Array<String> channelId, String keyword, int limit, long timestamp, IProgressResultCallback callback)voidsearchMessagesByUserForChannels(String targetId, int conversationType, Array<String> channelIds, String userId, int limit, long timestamp, IProgressResultCallback callback)voidsearchMessagesByUserForAllChannel(String targetId, int conversationType, String userId, int limit, long timestamp, IProgressResultCallback callback)voidsearchMessagesByTimestamp(String targetId, int conversationType, String channelId, String keyword, long startTime, long endTime, int offset, int limit, IProgressResultCallback callback)List<Message>searchMessagesByContent(String targetId, int conversationType, String channelId, String keyword, Array<String> objectNameList, int limit, long startTime)voidsearchConversations(String keyword, Array<int> conversationTypes, Array<String> objName, String channelId, IProgressResultCallback callback)voidgetMatchedMessages(String targetId, int conversationType, String channelId, long timestamp, int before, int after, IProgressResultCallback callback)voidgetVendorToken(IStringCallback callback)voidwriteFwLog(int level, int type, String tag, String metaJson, long timestamp, boolean writeDb)voidsetLogListener(IStringCallback listener)voidgetOfflineMessageDuration(IStringCallback callback)voidsetOfflineMessageDuration(String duration, ILongCallback callback)voidswitchAppKey(String appKey, String deviceId)voidgetTheFirstUnreadMessage(int conversationType, String targetId, String channelId, IResultCallback callback)voidsetMessageReadTime(long messageId, long timestamp, IBooleanCallback callback)voidcancelSDKHeartBeat()voidsendPing()立即发送 ping,无论当前状态 voidsetUserPolicy(boolean enable)voidsetReconnectKickEnable(boolean enable)intgetVideoLimitTime()StringgetMinioOSSAddr()intgetGIFLimitSize()voidsetUserProfileListener(UserProfileSettingListener listener)voidsetUserSettingsListener(IUserSettingsListener listener)voidsetConversationStatusListener(ConversationStatusListener listener)voidsetConversationListener(IConversationListener listener)voidinitHttpDns()voidsolveServerHosts(String server, ISolveServerHostsCallBack callback)booleanisDnsEnabled()booleanisGROpened()booleanunreadCountDroveByServer()voidsendRTCDirectionalMessage(Message message, String pushContent, String pushData, Array<String> userIds, SendMessageOption option, boolean isFilterBlackList, ISendMessageCallback callback)voidnotifyAppBackgroundChanged(boolean isInBackground)通知应用前后台切换 voidnotifyAppNetworkChanged()通知应用网络切换 voidupdateMessageExpansion(Map expansion, String messageUId, IOperationCallback callback)voidremoveMessageExpansion(List<String> keyArray, String messageUId, IOperationCallback callback)voidsetMessageExpansionListener(IMessageExpansionListener listener)voidSetRTCHeartbeatListener(IRTCHeartbeatListenerEx listener)voidSendRTCHeartbeat(Array<String> roomId, int timeout)MapdoMethod(String className, String methodKey, Map param)voidregisterModule(Map map)booleanbatchInsertMessage(List<Message> messages, boolean enableCheck)voidaddTag(TagInfo tagInfo, IOperationCallback callback)voidremoveTag(String tagId, IOperationCallback callback)voidupdateTag(TagInfo tagInfo, IOperationCallback callback)voidgetTags(IProgressResultCallback callback)voidgetTagsFromConversation(ConversationIdentifier conversationIdentifier, IProgressResultCallback callback)voidgetConversationTopStatusInTag(ConversationIdentifier conversationIdentifier, String tagId, IBooleanCallback callback)voidaddConversationsToTag(String tagId, List<ConversationIdentifier> conversationIdentifierList, IOperationCallback callback)voidremoveConversationsFromTag(String tagId, List<ConversationIdentifier> conversationIdentifierList, IOperationCallback callback)voidremoveTagsFromConversation(ConversationIdentifier conversationIdentifier, List<String> tagIds, IOperationCallback callback)voidgetConversationsFromTagByPage(String tagId, long ts, int count, IProgressResultCallback callback)voidgetUntaggedConversationListByPage(long timestamp, int count, boolean topPriority, IProgressResultCallback callback)voidgetUnreadCountByTag(String tagId, boolean containBlocked, IIntegerCallback callback)voidsetConversationToTopInTag(String tagId, ConversationIdentifier conversationIdentifier, boolean isTop, IOperationCallback callback)intgetCachedReadReceiptVersion()voidsendReadReceiptMessage(String targetId, String channelId, Array<String> msgUId, ISendReadReceiptMessageCallback callback)voidgetMessageReadUserList(String groupId, String channelId, String msgUId, IGetMessageReaderCallback callback)voiduploadSDKVersion(String version, String appVersion)intSendRTCSignaling(String roomId, String signalingName, boolean isQuery, Array<byte> pbBuffer, int timeout, IRTCSignalingCallback callback)intCancelRTCSignaling(Array<int> requestId)voidSetRTCRoomEventListener(IRTCRoomEventListener listener)voidgetTopStatus(String targetId, int conversationType, String channelId, IBooleanCallback callback)voidgetUnreadCountByObjectName(String targetId, int conversationType, Array<String> objectNames, String channelId, IIntegerCallback callback)voidclearMessagesUnreadStatusByTag(String tagId, IBooleanCallback callback)voidclearConversationsByTag(String tagId, boolean deleteMessage, IBooleanCallback callback)voidgetPrivateMessageDeliverTime(String channelId, String uid, ILongCallback callback)voidgetGroupMessageDeliverList(String groupId, String channelId, String msgUId, IGetGroupMessageDeliverCallback callback)voidsetMessageDeliverListener(IMessageDeliverListener listener)longgetMessageDeliverTime(String msgUId)voidforceReconnect(IConnectStringCallback callback)voidgetUltraGroupMentionCount(String targetId, IIntegerCallback callback)voidsyncUltraGroupReadStatus(String targetId, String channelId, long timestamp, IOperationCallback callback)voidsendUltraGroupTypingStatus(String targetId, String channelId, int operateType, IOperationCallback callback)voiddeleteUltraGroupMessagesForAllChannel(String targetId, long timestamp, IBooleanCallback callback)voiddeleteUltraGroupMessages(String targetId, String channelId, long timestamp, IBooleanCallback callback)voiddeleteRemoteUltraGroupMessages(String targetId, String channelId, long timestamp, IOperationCallback callback)voidmodifyUltraGroupMessage(String uid, Array<byte> messageContent, List<String> searchableWord, IOperationCallback callback)voidgetConversationListForAllChannel(int conversationType, String targetId, int countPerBatch, IProgressResultCallback callback)voidsyncRcConfiguration(RCConfiguration configuration)TranslationInfogetTranslationInfo(int messageId, String language)voidsaveMessageTranslation(int message, String content, String targetLanguage)booleanisSupportTranslation()StringgetAiAddress()booleanisOpenSessionConversation()SlowTaskConfiggetSlowTaskConfig()voidgetUltraGroupConversationListByBatch(int countPerBatch, IProgressResultCallback callback)voidupdateUltraGroupMessageExpansion(Map expansion, String messageUId, IOperationCallback callback)voidremoveUltraMessageExpansion(List<String> keyArray, String messageUId, IOperationCallback callback)voidgetBatchRemoteUltraGroupMessages(List<Message> msgList, IGetBatchRemoteUltraGroupMessageCallback callback)voidgetConversationChannelNotificationLevel(int type, String targetId, String channelId, ILongCallback callback)voidsetConversationNotificationLevel(int type, String targetId, int level, IOperationCallback callback)voidsetConversationsNotificationLevel(List<ConversationIdentifier> conversationIdentifierList, int level, IOperationCallback callback)voidgetConversationNotificationLevel(int type, String targetId, ILongCallback callback)voidsetConversationTypeNotificationLevel(int type, int level, IOperationCallback callback)voidgetConversationTypeNotificationLevel(int type, ILongCallback callback)voidgetUltraGroupConversationDefaultNotificationLevel(String targetId, ILongCallback callback)voidgetUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, ILongCallback callback)voidsetUltraGroupConversationDefaultNotificationLevel(String targetId, int level, IOperationCallback callback)voidsetUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, int level, IOperationCallback callback)voidgetUltraGroupUnreadCount(String targetId, IIntegerCallback callback)voidgetUltraGroupAllUnreadCount(IIntegerCallback callback)voidgetUltraGroupAllUnreadMentionedCount(IIntegerCallback callback)voidgetConversationListWithAllChannel(Array<int> types, int countPerBatch, IProgressResultCallback callback)voidgetConversationListWithAllChannelByPage(Array<int> types, long ts, int count, int countPerBatch, IProgressResultCallback callback)voidsearchMessageForAllChannel(String targetId, int categoryId, String keyword, int count, long timestamp, IProgressResultCallback callback)voidsearchMessageByTimestampForAllChannel(String targetId, int categoryId, String keyword, long startTime, long endTime, int offset, int limit, IProgressResultCallback callback)voidsearchConversationForAllChannel(String keyword, Array<int> types, Array<String> objName, IProgressResultCallback callback)voidgetUltraGroupChannelList(String targetId, int channelType, int countPerBatch, IProgressResultCallback callback)voidsetRLogLevel(int level)voidgetLevelUnreadCount(Array<int> types, Array<int> levels, IIntegerCallback callback)voidgetUnreadMentionedCount(Array<int> types, Array<int> levels, IIntegerCallback callback)voidgetUltraGroupUnreadCountByLevels(String targetId, Array<int> levels, IIntegerCallback callback)voidgetUltraGroupUnreadMentionedCount(String targetId, Array<int> levels, IIntegerCallback callback)voidgetUnreadMentionedMessages(int conversationType, String targetId, String channelId, int count, boolean desc, int countPerBatch, IProgressResultCallback callback)获取会话里未读的@消息。最多返回最近十条。 voidgetUltraGroupUnreadMentionedDigests(String targetId, String channelId, long sendTime, int count, IGetUltraGroupUnreadMentionedDigestsCallback callback)voidgetBatchLocalMessage(int type, String targetId, String channelId, List<String> messageUIDs, IProgressResultCallback callback)voidsendGroupCallSignalInfo(String targetId, String key, String signalInfo, IGroupCallSignalCallBack callback)voidsetGroupCallSignalListener(IGroupCallSignalListener listener)voidsetIMProxy(RCIMProxy proxy)voidsetCheckDuplicateMessage(boolean enableCheck)voidsetUltraGroupEventListener(ReceiveUltraGroupEventListener listener)voidgetUltraGroupConversationUnreadInfoList(Array<String> targetIds, int countPerBatch, IProgressResultCallback callback)voidgetUltraGroupMessageCountByTimeRange(String targetId, Array<String> channelIdList, long startTime, long endTime, IIntegerCallback callback)voidgetConversationMessageCountByTimeRange(String targetId, int type, long startTime, long endTime, IIntegerCallback callback)voidsendReadReceiptMessageV4(int conversationType, String targetId, String channelId, String startMsgUid, String endMsgUid, ISendReadReceiptMessageCallback callback)voidgetMessageReadReceipt(String targetId, String channelId, String msgUId, IGetMessageReaderV4Callback callback)voidupdateConversationReadTime(int conversationType, String targetId, String channelId, long readTime, IOperationCallback callback)voidgetContinuousMessages(Conversation conversation, RemoteHistoryMsgOption remoteHistoryMsgOption, IResultCallbackEx callback)voidsubscribeEvent(SubscribeEventRequest request, ISubscribeEventCallback callback)voidunSubscribeEvent(SubscribeEventRequest request, ISubscribeEventCallback callback)voidgetSubscribeUserList(SubscribeEventRequest request, int pageCount, int index, IProgressResultCallback callback)voidgetSubscribeStatusByUserIds(SubscribeEventRequest request, IProgressResultCallback callback)voidaddSubscribeEventListener(IOnSubscribeEventListener listener)booleanisSubscribeEnabled(int subscribeType)voidupdateMyUserProfile(UserProfile userProfile, IUpdateUserProfileCallback callback)voidgetUserProfiles(List<String> userIdList, IProgressResultCallback callback)voidgetMyUserProfile(IResultCallback callback)voidupdateMyUserProfileVisibility(int visibility, IBooleanCallback callback)voidgetMyUserProfileVisibility(IIntegerCallback callback)voidsearchUserProfileByUniqueId(String uniqueId, IResultCallback callback)booleanisUserProfileEnabled()voidsetGroupEventListener(IGroupEventListener listener)voidcreateGroup(GroupInfo groupInfo, List<String> inviteeUserIds, IExamineCallback callback)voidupdateGroupInfo(GroupInfo groupInfo, IExamineCallback callback)voidgetGroupsInfo(List<String> groupIds, IProgressResultCallback callback)voidkickGroupMembers(String groupId, List<String> userIds, QuitGroupConfig config, IOperationCallback callback)voidquitGroup(String groupId, QuitGroupConfig config, IOperationCallback callback)voiddismissGroup(String groupId, IOperationCallback callback)voidtransferGroupOwner(String groupId, String newOwnerId, boolean quitGroup, QuitGroupConfig config, IOperationCallback callback)voidupdateGroupManagers(String groupId, List<String> managerUserIds, boolean isRemoveManager, IOperationCallback callback)voidgetGroupMembersByRole(String groupId, int role, PagingQueryOption option, IPageResultCallback callback)voidgetGroupMembers(String groupId, List<String> userIds, IProgressResultCallback callback)voidsetGroupMemberInfo(String groupId, String userId, String nickname, String extra, IExamineCallback callback)voidsearchGroupMembers(String groupId, String nickname, PagingQueryOption option, IPageResultCallback callback)voidjoinGroup(String groupId, IOperationCallbackEx callback)voidinviteUsersToGroup(String groupId, List<String> userIds, IOperationCallbackEx callback)voidhandleGroupInvite(String groupId, String inviterUserId, String joinId, String reason, boolean isAgree, boolean isAdmin, IOperationCallbackEx callback)voidgetGroupApplications(Array<int> directionArray, Array<int> statusArray, PagingQueryOption option, IPageResultCallback callback)voidgetJoinedGroupsByRole(int role, PagingQueryOption option, IPageResultCallback callback)voidsearchJoinedGroups(String groupName, PagingQueryOption option, IPageResultCallback callback)voidgetJoinedGroups(List<String> groupIds, IProgressResultCallback callback)voidsetGroupRemark(String groupId, String remark, IOperationCallback callback)voidupdateGroupFollows(String groupId, List<String> userIds, boolean isSetFollows, IOperationCallback callback)voidgetGroupFollows(String groupId, IProgressResultCallback callback)voidsetFriendEventListener(IFriendEventListener listener)voidaddFriend(String userId, int friendType, String extra, IOperationCallbackEx callback)voiddeleteFriends(List<String> userIds, int friendType, IOperationCallback callback)voidhandleFriendApplication(String userId, String reason, boolean isAccept, IOperationCallback callback)voidsetFriendInfo(String userId, String remark, Map extFields, IExamineCallback callback)voidcheckFriends(List<String> userIds, int type, IProgressResultCallback callback)voidgetFriends(int type, IProgressResultCallback callback)voidgetFriendApplications(Array<int> types, Array<int> status, PagingQueryOption option, IPageResultCallback callback)voiddeleteFriendApplication(String userId, int type, IOperationCallback callback)voidgetFriendsInfo(List<String> userIds, IProgressResultCallback callback)voidsearchFriendsInfo(String name, IProgressResultCallback callback)voidsetFriendAddPermission(int permission, IOperationCallback callback)voidgetFriendAddPermission(IIntegerCallback callback)intSetDataBaseLogConfig(int time)voidaddDatabaseStatusListener(IOnDatabaseStatusListener listener)voidremoveDatabaseStatusListener(IOnDatabaseStatusListener listener)voidgetRemoteConversations(IOperationCallback callback)voidremoveRemoteConversation(ConversationIdentifier conversationIdentifier, IOperationCallback callback)voidremoveRemoteConversations(List<ConversationIdentifier> conversationIdentifiers, IOperationCallback callback)voidsetReadTimestamp(String targetId, String channelId, int categoryId, long timestamp, IOperationCallback callback)voidrequestStreamMessageContent(StreamMessageRequestParams params, IOperationCallback callback)voidsetStreamMessageRequestEventListener(IStreamMessageRequestEventListener listener)voidsendReadReceiptResponseV5(ConversationIdentifier identifier, List<String> messageUIds, IOperationCallback callback)voidgetMessageReadReceiptInfoV5(ConversationIdentifier identifier, List<String> messageUIds, IProgressResultCallback callback)voidgetMessagesReadReceiptUsersByPageV5(ConversationIdentifier identifier, String messageUId, ReadReceiptUsersOption option, IResultCallback callback)voidgetMessagesReadReceiptByUsersV5(ConversationIdentifier identifier, String messageUId, List<String> userIds, IResultCallback callback)voidMessageReadReceiptV5Listener(IMessageReadReceiptV5Listener listener)-
-
Method Detail
-
initAppendixModule
void initAppendixModule()
-
connect
void connect(ConnectOption option, boolean isReconnect, boolean inForeground, int rsn, IConnectStringCallback callback)
-
disconnect
void disconnect(boolean isReceivePush, IOperationCallback callback)
-
registerMessageType
void registerMessageType(String className)
-
registerMessageTypes
void registerMessageTypes(List<String> classNameList)
-
registerMessageTypeByCustomMessageInfos
void registerMessageTypeByCustomMessageInfos(List<CustomMessageInfo> list)
-
getTotalUnreadCount
void getTotalUnreadCount(String channelId, boolean containBlocked, IIntegerCallback callback)
-
getUnreadCountByConversation
void getUnreadCountByConversation(Array<Conversation> conversations, IIntegerCallback callback)
-
getUnreadCount
void getUnreadCount(String channelId, Array<int> types, IIntegerCallback callback)
-
getUnreadCountWithDND
void getUnreadCountWithDND(String channelId, Array<int> types, boolean withDND, IIntegerCallback callback)
-
getUnreadCountById
void getUnreadCountById(int type, String id, String channelId, IIntegerCallback callback)
-
getMessageCount
void getMessageCount(int type, String id, String channelId, IIntegerCallback callback)
-
setOnReceiveMessageListener
void setOnReceiveMessageListener(OnReceiveMessageListener listener)
-
setConnectionStatusListener
void setConnectionStatusListener(IConnectionStatusListener listener)
-
initIPCEnviroment
void initIPCEnviroment(ConnectOption option, int status)
-
getMessage
void getMessage(int messageId, IResultCallback callback)
-
insertSettingMessage
Message insertSettingMessage(Message message)
-
sendMessageOption
void sendMessageOption(Message message, String pushContent, String pushData, SendMessageOption option, ISendMessageCallback callback)
-
sendDirectionalMessage
void sendDirectionalMessage(Message message, String pushContent, String pushData, Array<String> userIds, ISendMessageCallback callback)
-
sendDirectionalMessageOption
void sendDirectionalMessageOption(Message message, String pushContent, String pushData, Array<String> userIds, SendMessageOption option, ISendMessageCallback callback)
-
sendMediaMessage
void sendMediaMessage(Message message, String pushContent, String pushData, ISendMediaMessageCallback sendMediaMessageCallback)
-
sendMediaMessageOption
void sendMediaMessageOption(Message message, String pushContent, String pushData, SendMessageOption option, ISendMediaMessageCallback sendMediaMessageCallback)
-
sendDirectionalMediaMessage
void sendDirectionalMediaMessage(Message message, Array<String> userIds, String pushContent, String pushData, ISendMediaMessageCallback sendMediaMessageCallback)
发送定向多媒体消息
- Parameters:
message- 消息实体userIds- 接收者 Id 数组pushContent- 当下发 push 消息时,在通知栏里会显示这个字段。 如果发送的是自定义消息,该字段必须填写,否则无法收到 push 消息。 如果发送 sdk 中默认的消息类型,例如 RC:TxtMsg, RC:VcMsg, RC:ImgMsg,则不需要填写,默认已经指定。pushData- push 附加信息。如果设置该字段,用户在收到 push 消息时,能通过 getPushData 方法获取。sendMediaMessageCallback- 回调 @see NativeClient.ISendMediaMessageCallback
-
getNewestMessages
void getNewestMessages(Conversation conversation, int count, IProgressResultCallback callback)
-
getOlderMessages
void getOlderMessages(Conversation conversation, long flagId, int count, IProgressResultCallback callback)
-
getRemoteHistoryMessages
void getRemoteHistoryMessages(Conversation conversation, long dataTime, int count, IResultCallbackEx callback)
-
getRemoteHistoryMessagesOption
void getRemoteHistoryMessagesOption(Conversation conversation, RemoteHistoryMsgOption remoteHistoryMsgOption, IResultCallbackEx callback)
-
cleanRemoteHistoryMessages
void cleanRemoteHistoryMessages(Conversation conversation, long recordTime, IOperationCallback callback)
-
cleanHistoryMessages
void cleanHistoryMessages(Conversation conversation, long recordTime, IOperationCallback callback)
-
setPushSetting
void setPushSetting(int key, String value, IOperationCallback callback)
-
getPushSetting
void getPushSetting(int key, IStringCallback callback)
-
getOlderMessagesByObjectName
void getOlderMessagesByObjectName(Conversation conversation, String objectName, long flagId, int count, boolean flag, IProgressResultCallback callback)
-
getOlderMessagesByObjectNames
void getOlderMessagesByObjectNames(Conversation conversation, List<String> objectNames, long flagId, int count, boolean flag, IProgressResultCallback callback)
-
getMessages
void getMessages(Conversation conversation, long timestamp, int count, boolean flag, IGetMessageWithProcessCallback callback)
-
getOlderMessagesByObjectNamesSync
void getOlderMessagesByObjectNamesSync(Conversation conversation, List<String> objectNames, long timestamp, int count, boolean flag, IProgressResultCallback callback)
-
deleteMessage
boolean deleteMessage(Array<int> ids)
-
deleteMessages
void deleteMessages(int conversationType, String targetId, String channelId, Array<Message> messages, IOperationCallback callback)
-
deleteConversationMessage
void deleteConversationMessage(int conversationType, String targetId, String channelId, IBooleanCallback callback)
-
clearMessages
void clearMessages(Conversation conversation, IBooleanCallback callback)
-
clearMessagesByBatch
void clearMessagesByBatch(List<ClearMessageOption> clearMessageOptionList, IBooleanCallback callback)
-
clearRemoteMessagesByBatch
void clearRemoteMessagesByBatch(List<ClearMessageOption> clearMessageOptionList, boolean isDeleteLocal, IOperationCallback callback)
-
clearMessagesUnreadStatus
void clearMessagesUnreadStatus(Conversation conversation, IBooleanCallback callback)
-
setMessageExtra
void setMessageExtra(int messageId, String values, IBooleanCallback callback)
-
setMessageReceivedStatus
boolean setMessageReceivedStatus(int messageId, int status)
-
setMessageSentStatus
void setMessageSentStatus(int messageId, int status, IBooleanCallback callback)
-
getMessageByUid
Message getMessageByUid(String uid)
-
getTopConversationList
void getTopConversationList(Array<int> types, String channelId, int countPerBatch, IProgressResultCallback callback)
-
getConversationListByBatch
void getConversationListByBatch(String channelId, int countPerBatch, IProgressResultCallback callback)
-
getConversationListOfTypesByBatch
void getConversationListOfTypesByBatch(String channelId, Array<int> types, int countPerBatch, IProgressResultCallback callback)
-
getConversationListByPage
void getConversationListByPage(Array<int> types, long timeStamp, int count, String channelId, boolean topPriority, int countPerBatch, IProgressResultCallback callback)
-
getBlockedConversationList
void getBlockedConversationList(Array<int> types, String channelId, IProgressResultCallback callback)
-
getConversation
void getConversation(int type, String targetId, String channelId, IResultCallback callback)
-
getConversations
void getConversations(List<ConversationIdentifier> conversationIdentifiers, IProgressResultCallback callback)
-
removeConversation
void removeConversation(int typeValue, String targetId, String channelId, IBooleanCallback callback)
-
removeConversations
void removeConversations(List<ConversationIdentifier> conversationIdentifierList, IBooleanCallback callback)
-
getConversationNotificationStatus
void getConversationNotificationStatus(int type, String targetId, String channelId, ILongCallback callback)
-
setConversationNotificationStatus
void setConversationNotificationStatus(int type, String targetId, String channelId, int level, IOperationCallback callback)
-
setConversationTopStatus
void setConversationTopStatus(int typeValue, String targetId, String channelId, boolean isTop, boolean needCreate, boolean needUpdateTime, IBooleanCallback callback)
-
setConversationsTopStatus
void setConversationsTopStatus(List<ConversationIdentifier> conversationIdentifierList, boolean isTop, boolean needCreate, IBooleanCallback callback)
-
setConversationsToTop
void setConversationsToTop(List<ConversationIdentifier> conversationIdentifierList, boolean isTop, ConversationTopOption option, IBooleanCallback callback)
-
clearConversations
void clearConversations(String channelId, Array<int> types, IBooleanCallback callback)
-
setNotificationQuietHours
void setNotificationQuietHours(String startTime, int spanMinutes, String timeZone, int level, IOperationCallback callback)
-
removeNotificationQuietHours
void removeNotificationQuietHours(IOperationCallback callback)
-
getNotificationQuietHours
void getNotificationQuietHours(IGetNotificationQuietHoursCallback callback)
-
updateConversationInfo
void updateConversationInfo(int type, String targetId, String channelId, String title, String portrait, IBooleanCallback callback)
-
getUnreadConversationListOfTypesByBatch
void getUnreadConversationListOfTypesByBatch(Array<int> types, int countPerBatch, IProgressResultCallback callback)
-
uploadMedia
void uploadMedia(Message message, IUploadCallback callback)
-
downloadMedia
void downloadMedia(Conversation conversation, int type, String mediaUrl, IDownloadMediaCallback callback)
-
downloadMediaMessage
void downloadMediaMessage(Message message, IDownloadMediaMessageCallback callback)
-
downloadMediaFile
void downloadMediaFile(String uid, String fileUrl, String fileName, String path, IDownloadMediaFileCallback callback)
-
cancelSendMediaMessage
void cancelSendMediaMessage(Message message, IOperationCallback callback)
-
cancelDownloadMediaMessage
void cancelDownloadMediaMessage(Message message, IOperationCallback callback)
-
pauseTransferMediaMessage
void pauseTransferMediaMessage(Message message, IOperationCallback callback)
-
pauseTransferMediaFile
void pauseTransferMediaFile(String tag, IOperationCallback callback)
-
getFileDownloadingStatus
boolean getFileDownloadingStatus(String uid)
-
getDownloadInfo
void getDownloadInfo(String tag, IResultCallback callback)
-
supportResumeBrokenTransfer
void supportResumeBrokenTransfer(String url, IBooleanCallback callback)
-
cancelAllDownloadMediaMessage
void cancelAllDownloadMediaMessage(IOperationCallback callback)
-
getDeltaTime
long getDeltaTime()
-
recallMessage
void recallMessage(String objectName, Array<byte> content, String pushContent, Message message, boolean disablePush, IOperationCallback callback)
-
addToBlacklist
void addToBlacklist(String userId, IOperationCallback callback)
-
removeFromBlacklist
void removeFromBlacklist(String userId, IOperationCallback callback)
-
getTextMessageDraft
void getTextMessageDraft(Conversation conversation, IStringCallback callback)
-
saveTextMessageDraft
void saveTextMessageDraft(Conversation conversation, String content, IBooleanCallback callback)
-
clearTextMessageDraft
void clearTextMessageDraft(Conversation conversation, IBooleanCallback callback)
-
getBlacklist
void getBlacklist(IStringCallback callback)
-
getBlacklistStatus
void getBlacklistStatus(String userId, IIntegerCallback callback)
-
getMediaUploadAuthorInfo
void getMediaUploadAuthorInfo(String fileName, String url, IResultCallback callback)
-
updateMessageReceiptStatus
void updateMessageReceiptStatus(String targetId, int categoryId, String channelId, long timestamp, IBooleanCallback callback)
-
clearUnreadByReceipt
void clearUnreadByReceipt(int conversationType, String targetId, String channelId, long timestamp, IBooleanCallback callback)
-
getSendTimeByMessageId
long getSendTimeByMessageId(int messageId)
-
getVoIPKey
void getVoIPKey(int engineType, String channelName, String extra, IStringCallback callback)
-
getVoIPCallInfo
String getVoIPCallInfo()
-
isGzipEnabled
boolean isGzipEnabled()
-
getCurrentUserId
String getCurrentUserId()
-
getNavPreferenceValue
String getNavPreferenceValue(String navPreferenceKey)
-
requestNav
void requestNav(String appKey, String token, boolean notify, int reason)
-
addNaviObserver
void addNaviObserver(INavigationObserver observer)
-
setInitOption
void setInitOption(InitOption initOption)
-
setMessageContent
boolean setMessageContent(int messageId, Array<byte> messageContent, String objectName)
-
updateReadReceiptRequestInfo
boolean updateReadReceiptRequestInfo(String msgUId, String info)
-
registerCmdMsgType
void registerCmdMsgType(String objName)
-
registerCmdMsgTypes
void registerCmdMsgTypes(List<String> objNameList)
-
registerDeleteMessageType
void registerDeleteMessageType(List<String> objNames)
-
searchMessages
void searchMessages(String targetId, int conversationType, String channelId, String keyword, int count, long timestamp, IProgressResultCallback callback)
-
searchMessagesByUser
void searchMessagesByUser(String targetId, int conversationType, String channelId, String userId, int count, long timestamp, IProgressResultCallback callback)
-
searchMessagesForChannels
void searchMessagesForChannels(String targetId, int conversationType, Array<String> channelId, String keyword, int limit, long timestamp, IProgressResultCallback callback)
-
searchMessagesByUserForChannels
void searchMessagesByUserForChannels(String targetId, int conversationType, Array<String> channelIds, String userId, int limit, long timestamp, IProgressResultCallback callback)
-
searchMessagesByUserForAllChannel
void searchMessagesByUserForAllChannel(String targetId, int conversationType, String userId, int limit, long timestamp, IProgressResultCallback callback)
-
searchMessagesByTimestamp
void searchMessagesByTimestamp(String targetId, int conversationType, String channelId, String keyword, long startTime, long endTime, int offset, int limit, IProgressResultCallback callback)
-
searchMessagesByContent
List<Message> searchMessagesByContent(String targetId, int conversationType, String channelId, String keyword, Array<String> objectNameList, int limit, long startTime)
-
searchConversations
void searchConversations(String keyword, Array<int> conversationTypes, Array<String> objName, String channelId, IProgressResultCallback callback)
-
getMatchedMessages
void getMatchedMessages(String targetId, int conversationType, String channelId, long timestamp, int before, int after, IProgressResultCallback callback)
-
getVendorToken
void getVendorToken(IStringCallback callback)
-
writeFwLog
void writeFwLog(int level, int type, String tag, String metaJson, long timestamp, boolean writeDb)
-
setLogListener
void setLogListener(IStringCallback listener)
-
getOfflineMessageDuration
void getOfflineMessageDuration(IStringCallback callback)
-
setOfflineMessageDuration
void setOfflineMessageDuration(String duration, ILongCallback callback)
-
switchAppKey
void switchAppKey(String appKey, String deviceId)
-
getTheFirstUnreadMessage
void getTheFirstUnreadMessage(int conversationType, String targetId, String channelId, IResultCallback callback)
-
setMessageReadTime
void setMessageReadTime(long messageId, long timestamp, IBooleanCallback callback)
-
cancelSDKHeartBeat
void cancelSDKHeartBeat()
-
sendPing
void sendPing()
立即发送 ping,无论当前状态
-
setUserPolicy
void setUserPolicy(boolean enable)
-
setReconnectKickEnable
void setReconnectKickEnable(boolean enable)
-
getVideoLimitTime
int getVideoLimitTime()
-
getMinioOSSAddr
String getMinioOSSAddr()
-
getGIFLimitSize
int getGIFLimitSize()
-
setUserProfileListener
void setUserProfileListener(UserProfileSettingListener listener)
-
setUserSettingsListener
void setUserSettingsListener(IUserSettingsListener listener)
-
setConversationStatusListener
void setConversationStatusListener(ConversationStatusListener listener)
-
setConversationListener
void setConversationListener(IConversationListener listener)
-
initHttpDns
void initHttpDns()
-
solveServerHosts
void solveServerHosts(String server, ISolveServerHostsCallBack callback)
-
isDnsEnabled
boolean isDnsEnabled()
-
isGROpened
boolean isGROpened()
-
unreadCountDroveByServer
boolean unreadCountDroveByServer()
-
sendRTCDirectionalMessage
void sendRTCDirectionalMessage(Message message, String pushContent, String pushData, Array<String> userIds, SendMessageOption option, boolean isFilterBlackList, ISendMessageCallback callback)
-
notifyAppBackgroundChanged
void notifyAppBackgroundChanged(boolean isInBackground)
通知应用前后台切换
-
notifyAppNetworkChanged
void notifyAppNetworkChanged()
通知应用网络切换
-
updateMessageExpansion
void updateMessageExpansion(Map expansion, String messageUId, IOperationCallback callback)
-
removeMessageExpansion
void removeMessageExpansion(List<String> keyArray, String messageUId, IOperationCallback callback)
-
setMessageExpansionListener
void setMessageExpansionListener(IMessageExpansionListener listener)
-
SetRTCHeartbeatListener
void SetRTCHeartbeatListener(IRTCHeartbeatListenerEx listener)
-
SendRTCHeartbeat
void SendRTCHeartbeat(Array<String> roomId, int timeout)
-
doMethod
Map doMethod(String className, String methodKey, Map param)
-
registerModule
void registerModule(Map map)
-
batchInsertMessage
boolean batchInsertMessage(List<Message> messages, boolean enableCheck)
-
addTag
void addTag(TagInfo tagInfo, IOperationCallback callback)
-
removeTag
void removeTag(String tagId, IOperationCallback callback)
-
updateTag
void updateTag(TagInfo tagInfo, IOperationCallback callback)
-
getTags
void getTags(IProgressResultCallback callback)
-
getTagsFromConversation
void getTagsFromConversation(ConversationIdentifier conversationIdentifier, IProgressResultCallback callback)
-
getConversationTopStatusInTag
void getConversationTopStatusInTag(ConversationIdentifier conversationIdentifier, String tagId, IBooleanCallback callback)
-
addConversationsToTag
void addConversationsToTag(String tagId, List<ConversationIdentifier> conversationIdentifierList, IOperationCallback callback)
-
removeConversationsFromTag
void removeConversationsFromTag(String tagId, List<ConversationIdentifier> conversationIdentifierList, IOperationCallback callback)
-
removeTagsFromConversation
void removeTagsFromConversation(ConversationIdentifier conversationIdentifier, List<String> tagIds, IOperationCallback callback)
-
getConversationsFromTagByPage
void getConversationsFromTagByPage(String tagId, long ts, int count, IProgressResultCallback callback)
-
getUntaggedConversationListByPage
void getUntaggedConversationListByPage(long timestamp, int count, boolean topPriority, IProgressResultCallback callback)
-
getUnreadCountByTag
void getUnreadCountByTag(String tagId, boolean containBlocked, IIntegerCallback callback)
-
setConversationToTopInTag
void setConversationToTopInTag(String tagId, ConversationIdentifier conversationIdentifier, boolean isTop, IOperationCallback callback)
-
getCachedReadReceiptVersion
int getCachedReadReceiptVersion()
-
sendReadReceiptMessage
void sendReadReceiptMessage(String targetId, String channelId, Array<String> msgUId, ISendReadReceiptMessageCallback callback)
-
getMessageReadUserList
void getMessageReadUserList(String groupId, String channelId, String msgUId, IGetMessageReaderCallback callback)
-
uploadSDKVersion
void uploadSDKVersion(String version, String appVersion)
-
SendRTCSignaling
int SendRTCSignaling(String roomId, String signalingName, boolean isQuery, Array<byte> pbBuffer, int timeout, IRTCSignalingCallback callback)
-
CancelRTCSignaling
int CancelRTCSignaling(Array<int> requestId)
-
SetRTCRoomEventListener
void SetRTCRoomEventListener(IRTCRoomEventListener listener)
-
getTopStatus
void getTopStatus(String targetId, int conversationType, String channelId, IBooleanCallback callback)
-
getUnreadCountByObjectName
void getUnreadCountByObjectName(String targetId, int conversationType, Array<String> objectNames, String channelId, IIntegerCallback callback)
-
clearMessagesUnreadStatusByTag
void clearMessagesUnreadStatusByTag(String tagId, IBooleanCallback callback)
-
clearConversationsByTag
void clearConversationsByTag(String tagId, boolean deleteMessage, IBooleanCallback callback)
-
getPrivateMessageDeliverTime
void getPrivateMessageDeliverTime(String channelId, String uid, ILongCallback callback)
-
getGroupMessageDeliverList
void getGroupMessageDeliverList(String groupId, String channelId, String msgUId, IGetGroupMessageDeliverCallback callback)
-
setMessageDeliverListener
void setMessageDeliverListener(IMessageDeliverListener listener)
-
getMessageDeliverTime
long getMessageDeliverTime(String msgUId)
-
forceReconnect
void forceReconnect(IConnectStringCallback callback)
-
getUltraGroupMentionCount
void getUltraGroupMentionCount(String targetId, IIntegerCallback callback)
-
syncUltraGroupReadStatus
void syncUltraGroupReadStatus(String targetId, String channelId, long timestamp, IOperationCallback callback)
-
sendUltraGroupTypingStatus
void sendUltraGroupTypingStatus(String targetId, String channelId, int operateType, IOperationCallback callback)
-
deleteUltraGroupMessagesForAllChannel
void deleteUltraGroupMessagesForAllChannel(String targetId, long timestamp, IBooleanCallback callback)
-
deleteUltraGroupMessages
void deleteUltraGroupMessages(String targetId, String channelId, long timestamp, IBooleanCallback callback)
-
deleteRemoteUltraGroupMessages
void deleteRemoteUltraGroupMessages(String targetId, String channelId, long timestamp, IOperationCallback callback)
-
modifyUltraGroupMessage
void modifyUltraGroupMessage(String uid, Array<byte> messageContent, List<String> searchableWord, IOperationCallback callback)
-
getConversationListForAllChannel
void getConversationListForAllChannel(int conversationType, String targetId, int countPerBatch, IProgressResultCallback callback)
-
syncRcConfiguration
void syncRcConfiguration(RCConfiguration configuration)
-
getTranslationInfo
TranslationInfo getTranslationInfo(int messageId, String language)
-
saveMessageTranslation
void saveMessageTranslation(int message, String content, String targetLanguage)
-
isSupportTranslation
boolean isSupportTranslation()
-
getAiAddress
String getAiAddress()
-
isOpenSessionConversation
boolean isOpenSessionConversation()
-
getSlowTaskConfig
SlowTaskConfig getSlowTaskConfig()
-
getUltraGroupConversationListByBatch
void getUltraGroupConversationListByBatch(int countPerBatch, IProgressResultCallback callback)
-
updateUltraGroupMessageExpansion
void updateUltraGroupMessageExpansion(Map expansion, String messageUId, IOperationCallback callback)
-
removeUltraMessageExpansion
void removeUltraMessageExpansion(List<String> keyArray, String messageUId, IOperationCallback callback)
-
getBatchRemoteUltraGroupMessages
void getBatchRemoteUltraGroupMessages(List<Message> msgList, IGetBatchRemoteUltraGroupMessageCallback callback)
-
getConversationChannelNotificationLevel
void getConversationChannelNotificationLevel(int type, String targetId, String channelId, ILongCallback callback)
-
setConversationNotificationLevel
void setConversationNotificationLevel(int type, String targetId, int level, IOperationCallback callback)
-
setConversationsNotificationLevel
void setConversationsNotificationLevel(List<ConversationIdentifier> conversationIdentifierList, int level, IOperationCallback callback)
-
getConversationNotificationLevel
void getConversationNotificationLevel(int type, String targetId, ILongCallback callback)
-
setConversationTypeNotificationLevel
void setConversationTypeNotificationLevel(int type, int level, IOperationCallback callback)
-
getConversationTypeNotificationLevel
void getConversationTypeNotificationLevel(int type, ILongCallback callback)
-
getUltraGroupConversationDefaultNotificationLevel
void getUltraGroupConversationDefaultNotificationLevel(String targetId, ILongCallback callback)
-
getUltraGroupConversationChannelDefaultNotificationLevel
void getUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, ILongCallback callback)
-
setUltraGroupConversationDefaultNotificationLevel
void setUltraGroupConversationDefaultNotificationLevel(String targetId, int level, IOperationCallback callback)
-
setUltraGroupConversationChannelDefaultNotificationLevel
void setUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, int level, IOperationCallback callback)
-
getUltraGroupUnreadCount
void getUltraGroupUnreadCount(String targetId, IIntegerCallback callback)
-
getUltraGroupAllUnreadCount
void getUltraGroupAllUnreadCount(IIntegerCallback callback)
-
getUltraGroupAllUnreadMentionedCount
void getUltraGroupAllUnreadMentionedCount(IIntegerCallback callback)
-
getConversationListWithAllChannel
void getConversationListWithAllChannel(Array<int> types, int countPerBatch, IProgressResultCallback callback)
-
getConversationListWithAllChannelByPage
void getConversationListWithAllChannelByPage(Array<int> types, long ts, int count, int countPerBatch, IProgressResultCallback callback)
-
searchMessageForAllChannel
void searchMessageForAllChannel(String targetId, int categoryId, String keyword, int count, long timestamp, IProgressResultCallback callback)
-
searchMessageByTimestampForAllChannel
void searchMessageByTimestampForAllChannel(String targetId, int categoryId, String keyword, long startTime, long endTime, int offset, int limit, IProgressResultCallback callback)
-
searchConversationForAllChannel
void searchConversationForAllChannel(String keyword, Array<int> types, Array<String> objName, IProgressResultCallback callback)
-
getUltraGroupChannelList
void getUltraGroupChannelList(String targetId, int channelType, int countPerBatch, IProgressResultCallback callback)
-
setRLogLevel
void setRLogLevel(int level)
-
getLevelUnreadCount
void getLevelUnreadCount(Array<int> types, Array<int> levels, IIntegerCallback callback)
-
getUnreadMentionedCount
void getUnreadMentionedCount(Array<int> types, Array<int> levels, IIntegerCallback callback)
-
getUltraGroupUnreadCountByLevels
void getUltraGroupUnreadCountByLevels(String targetId, Array<int> levels, IIntegerCallback callback)
-
getUltraGroupUnreadMentionedCount
void getUltraGroupUnreadMentionedCount(String targetId, Array<int> levels, IIntegerCallback callback)
-
getUnreadMentionedMessages
void getUnreadMentionedMessages(int conversationType, String targetId, String channelId, int count, boolean desc, int countPerBatch, IProgressResultCallback callback)
获取会话里未读的@消息。最多返回最近十条。
-
getUltraGroupUnreadMentionedDigests
void getUltraGroupUnreadMentionedDigests(String targetId, String channelId, long sendTime, int count, IGetUltraGroupUnreadMentionedDigestsCallback callback)
-
getBatchLocalMessage
void getBatchLocalMessage(int type, String targetId, String channelId, List<String> messageUIDs, IProgressResultCallback callback)
-
sendGroupCallSignalInfo
void sendGroupCallSignalInfo(String targetId, String key, String signalInfo, IGroupCallSignalCallBack callback)
-
setGroupCallSignalListener
void setGroupCallSignalListener(IGroupCallSignalListener listener)
-
setIMProxy
void setIMProxy(RCIMProxy proxy)
-
setCheckDuplicateMessage
void setCheckDuplicateMessage(boolean enableCheck)
-
setUltraGroupEventListener
void setUltraGroupEventListener(ReceiveUltraGroupEventListener listener)
-
getUltraGroupConversationUnreadInfoList
void getUltraGroupConversationUnreadInfoList(Array<String> targetIds, int countPerBatch, IProgressResultCallback callback)
-
getUltraGroupMessageCountByTimeRange
void getUltraGroupMessageCountByTimeRange(String targetId, Array<String> channelIdList, long startTime, long endTime, IIntegerCallback callback)
-
getConversationMessageCountByTimeRange
void getConversationMessageCountByTimeRange(String targetId, int type, long startTime, long endTime, IIntegerCallback callback)
-
sendReadReceiptMessageV4
void sendReadReceiptMessageV4(int conversationType, String targetId, String channelId, String startMsgUid, String endMsgUid, ISendReadReceiptMessageCallback callback)
-
getMessageReadReceipt
void getMessageReadReceipt(String targetId, String channelId, String msgUId, IGetMessageReaderV4Callback callback)
-
updateConversationReadTime
void updateConversationReadTime(int conversationType, String targetId, String channelId, long readTime, IOperationCallback callback)
-
getContinuousMessages
void getContinuousMessages(Conversation conversation, RemoteHistoryMsgOption remoteHistoryMsgOption, IResultCallbackEx callback)
-
subscribeEvent
void subscribeEvent(SubscribeEventRequest request, ISubscribeEventCallback callback)
-
unSubscribeEvent
void unSubscribeEvent(SubscribeEventRequest request, ISubscribeEventCallback callback)
-
getSubscribeUserList
void getSubscribeUserList(SubscribeEventRequest request, int pageCount, int index, IProgressResultCallback callback)
-
getSubscribeStatusByUserIds
void getSubscribeStatusByUserIds(SubscribeEventRequest request, IProgressResultCallback callback)
-
addSubscribeEventListener
void addSubscribeEventListener(IOnSubscribeEventListener listener)
-
isSubscribeEnabled
boolean isSubscribeEnabled(int subscribeType)
-
updateMyUserProfile
void updateMyUserProfile(UserProfile userProfile, IUpdateUserProfileCallback callback)
-
getUserProfiles
void getUserProfiles(List<String> userIdList, IProgressResultCallback callback)
-
getMyUserProfile
void getMyUserProfile(IResultCallback callback)
-
updateMyUserProfileVisibility
void updateMyUserProfileVisibility(int visibility, IBooleanCallback callback)
-
getMyUserProfileVisibility
void getMyUserProfileVisibility(IIntegerCallback callback)
-
searchUserProfileByUniqueId
void searchUserProfileByUniqueId(String uniqueId, IResultCallback callback)
-
isUserProfileEnabled
boolean isUserProfileEnabled()
-
setGroupEventListener
void setGroupEventListener(IGroupEventListener listener)
-
createGroup
void createGroup(GroupInfo groupInfo, List<String> inviteeUserIds, IExamineCallback callback)
-
updateGroupInfo
void updateGroupInfo(GroupInfo groupInfo, IExamineCallback callback)
-
getGroupsInfo
void getGroupsInfo(List<String> groupIds, IProgressResultCallback callback)
-
kickGroupMembers
void kickGroupMembers(String groupId, List<String> userIds, QuitGroupConfig config, IOperationCallback callback)
-
quitGroup
void quitGroup(String groupId, QuitGroupConfig config, IOperationCallback callback)
-
dismissGroup
void dismissGroup(String groupId, IOperationCallback callback)
-
transferGroupOwner
void transferGroupOwner(String groupId, String newOwnerId, boolean quitGroup, QuitGroupConfig config, IOperationCallback callback)
-
updateGroupManagers
void updateGroupManagers(String groupId, List<String> managerUserIds, boolean isRemoveManager, IOperationCallback callback)
-
getGroupMembersByRole
void getGroupMembersByRole(String groupId, int role, PagingQueryOption option, IPageResultCallback callback)
-
getGroupMembers
void getGroupMembers(String groupId, List<String> userIds, IProgressResultCallback callback)
-
setGroupMemberInfo
void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, IExamineCallback callback)
-
searchGroupMembers
void searchGroupMembers(String groupId, String nickname, PagingQueryOption option, IPageResultCallback callback)
-
joinGroup
void joinGroup(String groupId, IOperationCallbackEx callback)
-
inviteUsersToGroup
void inviteUsersToGroup(String groupId, List<String> userIds, IOperationCallbackEx callback)
-
handleGroupInvite
void handleGroupInvite(String groupId, String inviterUserId, String joinId, String reason, boolean isAgree, boolean isAdmin, IOperationCallbackEx callback)
-
getGroupApplications
void getGroupApplications(Array<int> directionArray, Array<int> statusArray, PagingQueryOption option, IPageResultCallback callback)
-
getJoinedGroupsByRole
void getJoinedGroupsByRole(int role, PagingQueryOption option, IPageResultCallback callback)
-
searchJoinedGroups
void searchJoinedGroups(String groupName, PagingQueryOption option, IPageResultCallback callback)
-
getJoinedGroups
void getJoinedGroups(List<String> groupIds, IProgressResultCallback callback)
-
setGroupRemark
void setGroupRemark(String groupId, String remark, IOperationCallback callback)
-
updateGroupFollows
void updateGroupFollows(String groupId, List<String> userIds, boolean isSetFollows, IOperationCallback callback)
-
getGroupFollows
void getGroupFollows(String groupId, IProgressResultCallback callback)
-
setFriendEventListener
void setFriendEventListener(IFriendEventListener listener)
-
addFriend
void addFriend(String userId, int friendType, String extra, IOperationCallbackEx callback)
-
deleteFriends
void deleteFriends(List<String> userIds, int friendType, IOperationCallback callback)
-
handleFriendApplication
void handleFriendApplication(String userId, String reason, boolean isAccept, IOperationCallback callback)
-
setFriendInfo
void setFriendInfo(String userId, String remark, Map extFields, IExamineCallback callback)
-
checkFriends
void checkFriends(List<String> userIds, int type, IProgressResultCallback callback)
-
getFriends
void getFriends(int type, IProgressResultCallback callback)
-
getFriendApplications
void getFriendApplications(Array<int> types, Array<int> status, PagingQueryOption option, IPageResultCallback callback)
-
deleteFriendApplication
void deleteFriendApplication(String userId, int type, IOperationCallback callback)
-
getFriendsInfo
void getFriendsInfo(List<String> userIds, IProgressResultCallback callback)
-
searchFriendsInfo
void searchFriendsInfo(String name, IProgressResultCallback callback)
-
setFriendAddPermission
void setFriendAddPermission(int permission, IOperationCallback callback)
-
getFriendAddPermission
void getFriendAddPermission(IIntegerCallback callback)
-
SetDataBaseLogConfig
int SetDataBaseLogConfig(int time)
-
addDatabaseStatusListener
void addDatabaseStatusListener(IOnDatabaseStatusListener listener)
-
removeDatabaseStatusListener
void removeDatabaseStatusListener(IOnDatabaseStatusListener listener)
-
getRemoteConversations
void getRemoteConversations(IOperationCallback callback)
-
removeRemoteConversation
void removeRemoteConversation(ConversationIdentifier conversationIdentifier, IOperationCallback callback)
-
removeRemoteConversations
void removeRemoteConversations(List<ConversationIdentifier> conversationIdentifiers, IOperationCallback callback)
-
setReadTimestamp
void setReadTimestamp(String targetId, String channelId, int categoryId, long timestamp, IOperationCallback callback)
-
requestStreamMessageContent
void requestStreamMessageContent(StreamMessageRequestParams params, IOperationCallback callback)
-
setStreamMessageRequestEventListener
void setStreamMessageRequestEventListener(IStreamMessageRequestEventListener listener)
-
sendReadReceiptResponseV5
void sendReadReceiptResponseV5(ConversationIdentifier identifier, List<String> messageUIds, IOperationCallback callback)
-
getMessageReadReceiptInfoV5
void getMessageReadReceiptInfoV5(ConversationIdentifier identifier, List<String> messageUIds, IProgressResultCallback callback)
-
getMessagesReadReceiptUsersByPageV5
void getMessagesReadReceiptUsersByPageV5(ConversationIdentifier identifier, String messageUId, ReadReceiptUsersOption option, IResultCallback callback)
-
getMessagesReadReceiptByUsersV5
void getMessagesReadReceiptByUsersV5(ConversationIdentifier identifier, String messageUId, List<String> userIds, IResultCallback callback)
-
MessageReadReceiptV5Listener
void MessageReadReceiptV5Listener(IMessageReadReceiptV5Listener listener)
-
-
-
-