# LibHandlerStub

public class LibHandlerStub

## Constructors

LibHandlerStub
Link copied to clipboard
public void LibHandlerStub(Context context, String appKey, String deviceId, RCConfiguration configuration, String soDir, int pingTimeout, boolean isBackupDb)

## Functions

addConversationsToTag
Link copied to clipboard
public void addConversationsToTag(String tagId, List<ConversationIdentifier> conversationIdentifierList, IOperationCallback callback)
addDatabaseStatusListener
Link copied to clipboard
public void addDatabaseStatusListener(IOnDatabaseStatusListener listener)
addFriend
Link copied to clipboard
public void addFriend(String userId, int friendType, String extra, IOperationCallbackEx callback)
addNaviObserver
Link copied to clipboard
public void addNaviObserver(INavigationObserver observer)
addSubscribeEventListener
Link copied to clipboard
public void addSubscribeEventListener(IOnSubscribeEventListener listener)
addTag
Link copied to clipboard
public void addTag(TagInfo tagInfo, IOperationCallback callback)
addToBlacklist
Link copied to clipboard
public void addToBlacklist(String userId, IOperationCallback callback)
batchInsertMessage
Link copied to clipboard
public boolean batchInsertMessage(List<Message> messages, boolean enableCheck)
cancelAllDownloadMediaMessage
Link copied to clipboard
public void cancelAllDownloadMediaMessage(IOperationCallback callback)
cancelDownloadMediaMessage
Link copied to clipboard
public void cancelDownloadMediaMessage(Message message, IOperationCallback callback)
CancelRTCSignaling
Link copied to clipboard
public int CancelRTCSignaling(Array<int> requestId)
cancelSDKHeartBeat
Link copied to clipboard
public void cancelSDKHeartBeat()
cancelSendMediaMessage
Link copied to clipboard
public void cancelSendMediaMessage(Message message, IOperationCallback callback)
checkFriends
Link copied to clipboard
public void checkFriends(List<String> userIds, int type, IProgressResultCallback callback)
cleanHistoryMessages
Link copied to clipboard
public void cleanHistoryMessages(Conversation conversation, long recordTime, IOperationCallback callback)
cleanRemoteHistoryMessages
Link copied to clipboard
public void cleanRemoteHistoryMessages(Conversation conversation, long recordTime, IOperationCallback callback)
clearConversations
Link copied to clipboard
public void clearConversations(String channelId, Array<int> types, IBooleanCallback callback)
clearConversationsByTag
Link copied to clipboard
public void clearConversationsByTag(String tagId, boolean deleteMessage, IBooleanCallback callback)
clearMessages
Link copied to clipboard
public void clearMessages(Conversation conversation, IBooleanCallback callback)
clearMessagesByBatch
Link copied to clipboard
public void clearMessagesByBatch(List<ClearMessageOption> clearMessageOptionList, IBooleanCallback callback)
clearMessagesUnreadStatus
Link copied to clipboard
public void clearMessagesUnreadStatus(Conversation conversation, IBooleanCallback callback)
clearMessagesUnreadStatusByTag
Link copied to clipboard
public void clearMessagesUnreadStatusByTag(String tagId, IBooleanCallback callback)
clearRemoteMessagesByBatch
Link copied to clipboard
public void clearRemoteMessagesByBatch(List<ClearMessageOption> clearMessageOptionList, boolean isDeleteLocal, IOperationCallback callback)
clearTextMessageDraft
Link copied to clipboard
public void clearTextMessageDraft(Conversation conversation, IBooleanCallback callback)
clearUnreadByReceipt
Link copied to clipboard
public void clearUnreadByReceipt(int conversationType, String targetId, String channelId, long timestamp, IBooleanCallback callback)
connect
Link copied to clipboard
public void connect(ConnectOption option, boolean isReconnect, boolean inForeground, int rsn, IConnectStringCallback callback)
createGroup
Link copied to clipboard
public void createGroup(GroupInfo groupInfo, List<String> inviteeUserIds, IOperationCallbackEx callback)
deleteConversationMessage
Link copied to clipboard
public void deleteConversationMessage(int conversationType, String targetId, String channelId, IBooleanCallback callback)
deleteFriendApplication
Link copied to clipboard
public void deleteFriendApplication(String userId, int type, IOperationCallback callback)
deleteFriends
Link copied to clipboard
public void deleteFriends(List<String> userIds, int friendType, IOperationCallback callback)
deleteMessage
Link copied to clipboard
public boolean deleteMessage(Array<int> ids)
deleteMessages
Link copied to clipboard
public void deleteMessages(int conversationType, String targetId, String channelId, Array<Message> messages, IOperationCallback callback)
deleteRemoteUltraGroupMessages
Link copied to clipboard
public void deleteRemoteUltraGroupMessages(String targetId, String channelId, long timestamp, IOperationCallback callback)
deleteUltraGroupMessages
Link copied to clipboard
public void deleteUltraGroupMessages(String targetId, String channelId, long timestamp, IBooleanCallback callback)
deleteUltraGroupMessagesForAllChannel
Link copied to clipboard
public void deleteUltraGroupMessagesForAllChannel(String targetId, long timestamp, IBooleanCallback callback)
disconnect
Link copied to clipboard
public void disconnect(boolean isReceivePush, IOperationCallback callback)
dismissGroup
Link copied to clipboard
public void dismissGroup(String groupId, IOperationCallback callback)
doMethod
Link copied to clipboard
public Map doMethod(String className, String methodKey, Map param)
downloadMedia
Link copied to clipboard
public void downloadMedia(Conversation conversation, int type, String mediaUrl, IDownloadMediaCallback callback)
downloadMediaFile
Link copied to clipboard
public void downloadMediaFile(String uid, String fileUrl, String fileName, String path, IDownloadMediaFileCallback callback)
downloadMediaMessage
Link copied to clipboard
public void downloadMediaMessage(Message message, IDownloadMediaMessageCallback callback)
forceReconnect
Link copied to clipboard
public void forceReconnect(IConnectStringCallback callback)
getAiAddress
Link copied to clipboard
public String getAiAddress()
getBatchLocalMessage
Link copied to clipboard
public void getBatchLocalMessage(int type, String targetId, String channelId, List<String> messageUIDs, IProgressResultCallback callback)
getBatchRemoteUltraGroupMessages
Link copied to clipboard
public void getBatchRemoteUltraGroupMessages(List<Message> msgList, IGetBatchRemoteUltraGroupMessageCallback callback)
getBlacklist
Link copied to clipboard
public void getBlacklist(IStringCallback callback)
getBlacklistStatus
Link copied to clipboard
public void getBlacklistStatus(String userId, IIntegerCallback callback)
getBlockedConversationList
Link copied to clipboard
public void getBlockedConversationList(Array<int> types, String channelId, IProgressResultCallback callback)
getCachedReadReceiptVersion
Link copied to clipboard
public int getCachedReadReceiptVersion()
getContinuousMessages
Link copied to clipboard
public void getContinuousMessages(Conversation conversation, RemoteHistoryMsgOption remoteHistoryMsgOption, IResultCallbackEx callback)
getConversation
Link copied to clipboard
public void getConversation(int type, String targetId, String channelId, IResultCallback callback)
getConversationChannelNotificationLevel
Link copied to clipboard
public void getConversationChannelNotificationLevel(int type, String targetId, String channelId, ILongCallback callback)
getConversationListByBatch
Link copied to clipboard
public void getConversationListByBatch(String channelId, int countPerBatch, IProgressResultCallback callback)
getConversationListByPage
Link copied to clipboard
public void getConversationListByPage(Array<int> types, long timeStamp, int count, String channelId, boolean topPriority, int countPerBatch, IProgressResultCallback callback)
getConversationListForAllChannel
Link copied to clipboard
public void getConversationListForAllChannel(int conversationType, String targetId, int countPerBatch, IProgressResultCallback callback)
getConversationListOfTypesByBatch
Link copied to clipboard
public void getConversationListOfTypesByBatch(String channelId, Array<int> types, int countPerBatch, IProgressResultCallback callback)
getConversationListWithAllChannel
Link copied to clipboard
public void getConversationListWithAllChannel(Array<int> types, int countPerBatch, IProgressResultCallback callback)
getConversationListWithAllChannelByPage
Link copied to clipboard
public void getConversationListWithAllChannelByPage(Array<int> types, long ts, int count, int countPerBatch, IProgressResultCallback callback)
getConversationMessageCountByTimeRange
Link copied to clipboard
public void getConversationMessageCountByTimeRange(String targetId, int type, long startTime, long endTime, IIntegerCallback callback)
getConversationNotificationLevel
Link copied to clipboard
public void getConversationNotificationLevel(int type, String targetId, ILongCallback callback)
getConversationNotificationStatus
Link copied to clipboard
public void getConversationNotificationStatus(int type, String targetId, String channelId, ILongCallback callback)
getConversations
Link copied to clipboard
public void getConversations(List<ConversationIdentifier> conversationIdentifiers, IProgressResultCallback callback)
getConversationsFromTagByPage
Link copied to clipboard
public void getConversationsFromTagByPage(String tagId, long ts, int count, IProgressResultCallback callback)
getConversationTopStatusInTag
Link copied to clipboard
public void getConversationTopStatusInTag(ConversationIdentifier conversationIdentifier, String tagId, IBooleanCallback callback)
getConversationTypeNotificationLevel
Link copied to clipboard
public void getConversationTypeNotificationLevel(int type, ILongCallback callback)
getCurrentUserId
Link copied to clipboard
public String getCurrentUserId()
getDeltaTime
Link copied to clipboard
public long getDeltaTime()
getDownloadInfo
Link copied to clipboard
public void getDownloadInfo(String tag, IResultCallback callback)
getFileDownloadingStatus
Link copied to clipboard
public boolean getFileDownloadingStatus(String uid)
getFriendAddPermission
Link copied to clipboard
public void getFriendAddPermission(IIntegerCallback callback)
getFriendApplications
Link copied to clipboard
public void getFriendApplications(Array<int> types, Array<int> status, PagingQueryOption option, IPageResultCallback callback)
getFriends
Link copied to clipboard
public void getFriends(int type, IProgressResultCallback callback)
getFriendsInfo
Link copied to clipboard
public void getFriendsInfo(List<String> userIds, IProgressResultCallback callback)
getGIFLimitSize
Link copied to clipboard
public int getGIFLimitSize()
getGroupApplications
Link copied to clipboard
public void getGroupApplications(Array<int> directionArray, Array<int> statusArray, PagingQueryOption option, IPageResultCallback callback)
getGroupFollows
Link copied to clipboard
public void getGroupFollows(String groupId, IProgressResultCallback callback)
getGroupMembers
Link copied to clipboard
public void getGroupMembers(String groupId, List<String> userIds, IProgressResultCallback callback)
getGroupMembersByRole
Link copied to clipboard
public void getGroupMembersByRole(String groupId, int role, PagingQueryOption option, IPageResultCallback callback)
getGroupMessageDeliverList
Link copied to clipboard
public void getGroupMessageDeliverList(String groupId, String channelId, String msgUId, IGetGroupMessageDeliverCallback callback)
getGroupsInfo
Link copied to clipboard
public void getGroupsInfo(List<String> groupIds, IProgressResultCallback callback)
getJoinedGroups
Link copied to clipboard
public void getJoinedGroups(List<String> groupIds, IProgressResultCallback callback)
getJoinedGroupsByRole
Link copied to clipboard
public void getJoinedGroupsByRole(int role, PagingQueryOption option, IPageResultCallback callback)
getLevelUnreadCount
Link copied to clipboard
public void getLevelUnreadCount(Array<int> types, Array<int> levels, IIntegerCallback callback)
getMatchedMessages
Link copied to clipboard
public void getMatchedMessages(String targetId, int conversationType, String channelId, long timestamp, int before, int after, IProgressResultCallback callback)
getMediaUploadAuthorInfo
Link copied to clipboard
public void getMediaUploadAuthorInfo(String fileName, String url, IResultCallback callback)
getMessage
Link copied to clipboard
public void getMessage(int messageId, IResultCallback callback)
getMessageByUid
Link copied to clipboard
public Message getMessageByUid(String uid)
getMessageCount
Link copied to clipboard
public void getMessageCount(int type, String id, String channelId, IIntegerCallback callback)
getMessageDeliverTime
Link copied to clipboard
public long getMessageDeliverTime(String msgUId)
getMessageReadReceipt
Link copied to clipboard
public void getMessageReadReceipt(String targetId, String channelId, String msgUId, IGetMessageReaderV4Callback callback)
getMessageReadUserList
Link copied to clipboard
public void getMessageReadUserList(String groupId, String channelId, String msgUId, IGetMessageReaderCallback callback)
getMessages
Link copied to clipboard
public void getMessages(Conversation conversation, long timestamp, int count, boolean flag, IGetMessageWithProcessCallback callback)
getMinioOSSAddr
Link copied to clipboard
public String getMinioOSSAddr()
getMyUserProfile
Link copied to clipboard
public void getMyUserProfile(IResultCallback callback)
getMyUserProfileVisibility
Link copied to clipboard
public void getMyUserProfileVisibility(IIntegerCallback callback)
getNavPreferenceValue
Link copied to clipboard
public String getNavPreferenceValue(String navPreferenceKey)
getNewestMessages
Link copied to clipboard
public void getNewestMessages(Conversation conversation, int count, IProgressResultCallback callback)
getNotificationQuietHours
Link copied to clipboard
public void getNotificationQuietHours(IGetNotificationQuietHoursCallback callback)
getOfflineMessageDuration
Link copied to clipboard
public void getOfflineMessageDuration(IStringCallback callback)
getOlderMessages
Link copied to clipboard
public void getOlderMessages(Conversation conversation, long flagId, int count, IProgressResultCallback callback)
getOlderMessagesByObjectName
Link copied to clipboard
public void getOlderMessagesByObjectName(Conversation conversation, String objectName, long flagId, int count, boolean flag, IProgressResultCallback callback)
getOlderMessagesByObjectNames
Link copied to clipboard
public void getOlderMessagesByObjectNames(Conversation conversation, List<String> objectNames, long flagId, int count, boolean flag, IProgressResultCallback callback)
getOlderMessagesByObjectNamesSync
Link copied to clipboard
public void getOlderMessagesByObjectNamesSync(Conversation conversation, List<String> objectNames, long timestamp, int count, boolean flag, IProgressResultCallback callback)
getPrivateMessageDeliverTime
Link copied to clipboard
public void getPrivateMessageDeliverTime(String channelId, String uid, ILongCallback callback)
getPushSetting
Link copied to clipboard
public void getPushSetting(int key, IStringCallback callback)
getRemoteHistoryMessages
Link copied to clipboard
public void getRemoteHistoryMessages(Conversation conversation, long dataTime, int count, IResultCallbackEx callback)
getRemoteHistoryMessagesOption
Link copied to clipboard
public void getRemoteHistoryMessagesOption(Conversation conversation, RemoteHistoryMsgOption remoteHistoryMsgOption, IResultCallbackEx callback)
getSendTimeByMessageId
Link copied to clipboard
public long getSendTimeByMessageId(int messageId)
getSlowTaskConfig
Link copied to clipboard
public SlowTaskConfig getSlowTaskConfig()
getSubscribeStatusByUserIds
Link copied to clipboard
public void getSubscribeStatusByUserIds(SubscribeEventRequest request, IProgressResultCallback callback)
getSubscribeUserList
Link copied to clipboard
public void getSubscribeUserList(SubscribeEventRequest request, int pageCount, int index, IProgressResultCallback callback)
getTags
Link copied to clipboard
public void getTags(IProgressResultCallback callback)
getTagsFromConversation
Link copied to clipboard
public void getTagsFromConversation(ConversationIdentifier conversationIdentifier, IProgressResultCallback callback)
getTextMessageDraft
Link copied to clipboard
public void getTextMessageDraft(Conversation conversation, IStringCallback callback)
getTheFirstUnreadMessage
Link copied to clipboard
public void getTheFirstUnreadMessage(int conversationType, String targetId, String channelId, IResultCallback callback)
getTopConversationList
Link copied to clipboard
public void getTopConversationList(Array<int> types, String channelId, int countPerBatch, IProgressResultCallback callback)
getTopStatus
Link copied to clipboard
public void getTopStatus(String targetId, int conversationType, String channelId, IBooleanCallback callback)
getTotalUnreadCount
Link copied to clipboard
public void getTotalUnreadCount(String channelId, boolean containBlocked, IIntegerCallback callback)
getTranslationInfo
Link copied to clipboard
public TranslationInfo getTranslationInfo(int messageId, String language)
getUltraGroupAllUnreadCount
Link copied to clipboard
public void getUltraGroupAllUnreadCount(IIntegerCallback callback)
getUltraGroupAllUnreadMentionedCount
Link copied to clipboard
public void getUltraGroupAllUnreadMentionedCount(IIntegerCallback callback)
getUltraGroupChannelList
Link copied to clipboard
public void getUltraGroupChannelList(String targetId, int channelType, int countPerBatch, IProgressResultCallback callback)
getUltraGroupConversationChannelDefaultNotificationLevel
Link copied to clipboard
public void getUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, ILongCallback callback)
getUltraGroupConversationDefaultNotificationLevel
Link copied to clipboard
public void getUltraGroupConversationDefaultNotificationLevel(String targetId, ILongCallback callback)
getUltraGroupConversationListByBatch
Link copied to clipboard
public void getUltraGroupConversationListByBatch(int countPerBatch, IProgressResultCallback callback)
getUltraGroupConversationUnreadInfoList
Link copied to clipboard
public void getUltraGroupConversationUnreadInfoList(Array<String> targetIds, int countPerBatch, IProgressResultCallback callback)
getUltraGroupMentionCount
Link copied to clipboard
public void getUltraGroupMentionCount(String targetId, IIntegerCallback callback)
getUltraGroupMessageCountByTimeRange
Link copied to clipboard
public void getUltraGroupMessageCountByTimeRange(String targetId, Array<String> channelIdList, long startTime, long endTime, IIntegerCallback callback)
getUltraGroupUnreadCount
Link copied to clipboard
public void getUltraGroupUnreadCount(String targetId, IIntegerCallback callback)
getUltraGroupUnreadCountByLevels
Link copied to clipboard
public void getUltraGroupUnreadCountByLevels(String targetId, Array<int> levels, IIntegerCallback callback)
getUltraGroupUnreadMentionedCount
Link copied to clipboard
public void getUltraGroupUnreadMentionedCount(String targetId, Array<int> levels, IIntegerCallback callback)
getUltraGroupUnreadMentionedDigests
Link copied to clipboard
public void getUltraGroupUnreadMentionedDigests(String targetId, String channelId, long sendTime, int count, IGetUltraGroupUnreadMentionedDigestsCallback callback)
getUnreadConversationListOfTypesByBatch
Link copied to clipboard
public void getUnreadConversationListOfTypesByBatch(Array<int> types, int countPerBatch, IProgressResultCallback callback)
getUnreadCount
Link copied to clipboard
public void getUnreadCount(String channelId, Array<int> types, IIntegerCallback callback)
getUnreadCountByConversation
Link copied to clipboard
public void getUnreadCountByConversation(Array<Conversation> conversations, IIntegerCallback callback)
getUnreadCountById
Link copied to clipboard
public void getUnreadCountById(int type, String id, String channelId, IIntegerCallback callback)
getUnreadCountByObjectName
Link copied to clipboard
public void getUnreadCountByObjectName(String targetId, int conversationType, Array<String> objectNames, String channelId, IIntegerCallback callback)
getUnreadCountByTag
Link copied to clipboard
public void getUnreadCountByTag(String tagId, boolean containBlocked, IIntegerCallback callback)
getUnreadCountWithDND
Link copied to clipboard
public void getUnreadCountWithDND(String channelId, Array<int> types, boolean withDND, IIntegerCallback callback)
getUnreadMentionedCount
Link copied to clipboard
public void getUnreadMentionedCount(Array<int> types, Array<int> levels, IIntegerCallback callback)
getUnreadMentionedMessages
Link copied to clipboard
public void getUnreadMentionedMessages(int conversationType, String targetId, String channelId, int count, boolean desc, int countPerBatch, IProgressResultCallback callback)
获取会话里未读的@消息。最多返回最近十条。
getUserProfiles
Link copied to clipboard
public void getUserProfiles(List<String> userIdList, IProgressResultCallback callback)
getVendorToken
Link copied to clipboard
public void getVendorToken(IStringCallback callback)
getVideoLimitTime
Link copied to clipboard
public int getVideoLimitTime()
getVoIPCallInfo
Link copied to clipboard
public String getVoIPCallInfo()
getVoIPKey
Link copied to clipboard
public void getVoIPKey(int engineType, String channelName, String extra, IStringCallback callback)
handleFriendApplication
Link copied to clipboard
public void handleFriendApplication(String userId, String reason, boolean isAccept, IOperationCallback callback)
handleGroupInvite
Link copied to clipboard
public void handleGroupInvite(String groupId, String inviterUserId, String joinId, String reason, boolean isAgree, boolean isAdmin, IOperationCallbackEx callback)
initAppendixModule
Link copied to clipboard
public void initAppendixModule()
initHttpDns
Link copied to clipboard
public void initHttpDns()
initIPCEnviroment
Link copied to clipboard
public void initIPCEnviroment(ConnectOption option, int status)
insertSettingMessage
Link copied to clipboard
public Message insertSettingMessage(Message message)
inviteUsersToGroup
Link copied to clipboard
public void inviteUsersToGroup(String groupId, List<String> userIds, IOperationCallbackEx callback)
isDnsEnabled
Link copied to clipboard
public boolean isDnsEnabled()
isGROpened
Link copied to clipboard
public boolean isGROpened()
isGzipEnabled
Link copied to clipboard
public boolean isGzipEnabled()
isSubscribeEnabled
Link copied to clipboard
public boolean isSubscribeEnabled(int subscribeType)
isSupportTranslation
Link copied to clipboard
public boolean isSupportTranslation()
isUserProfileEnabled
Link copied to clipboard
public boolean isUserProfileEnabled()
joinGroup
Link copied to clipboard
public void joinGroup(String groupId, IOperationCallbackEx callback)
kickGroupMembers
Link copied to clipboard
public void kickGroupMembers(String groupId, List<String> userIds, QuitGroupConfig config, IOperationCallback callback)
modifyUltraGroupMessage
Link copied to clipboard
public void modifyUltraGroupMessage(String uid, Array<byte> messageContent, List<String> searchableWord, IOperationCallback callback)
notifyAppBackgroundChanged
Link copied to clipboard
public void notifyAppBackgroundChanged(boolean isInBackground)
通知应用前后台切换
notifyAppNetworkChanged
Link copied to clipboard
public void notifyAppNetworkChanged()
通知应用网络切换
pauseTransferMediaFile
Link copied to clipboard
public void pauseTransferMediaFile(String tag, IOperationCallback callback)
pauseTransferMediaMessage
Link copied to clipboard
public void pauseTransferMediaMessage(Message message, IOperationCallback callback)
quitGroup
Link copied to clipboard
public void quitGroup(String groupId, QuitGroupConfig config, IOperationCallback callback)
recallMessage
Link copied to clipboard
public void recallMessage(String objectName, Array<byte> content, String pushContent, Message message, IOperationCallback callback)
registerCmdMsgType
Link copied to clipboard
public void registerCmdMsgType(String objName)
registerCmdMsgTypes
Link copied to clipboard
public void registerCmdMsgTypes(List<String> objNameList)
registerDeleteMessageType
Link copied to clipboard
public void registerDeleteMessageType(List<String> objNames)
registerMessageType
Link copied to clipboard
public void registerMessageType(String className)
registerMessageTypeByCustomMessageInfos
Link copied to clipboard
public void registerMessageTypeByCustomMessageInfos(List<CustomMessageInfo> list)
registerMessageTypes
Link copied to clipboard
public void registerMessageTypes(List<String> classNameList)
registerModule
Link copied to clipboard
public void registerModule(Map map)
removeConversation
Link copied to clipboard
public void removeConversation(int typeValue, String targetId, String channelId, IBooleanCallback callback)
removeConversations
Link copied to clipboard
public void removeConversations(List<ConversationIdentifier> conversationIdentifierList, IBooleanCallback callback)
removeConversationsFromTag
Link copied to clipboard
public void removeConversationsFromTag(String tagId, List<ConversationIdentifier> conversationIdentifierList, IOperationCallback callback)
removeDatabaseStatusListener
Link copied to clipboard
public void removeDatabaseStatusListener(IOnDatabaseStatusListener listener)
removeFromBlacklist
Link copied to clipboard
public void removeFromBlacklist(String userId, IOperationCallback callback)
removeMessageExpansion
Link copied to clipboard
public void removeMessageExpansion(List<String> keyArray, String messageUId, IOperationCallback callback)
removeNotificationQuietHours
Link copied to clipboard
public void removeNotificationQuietHours(IOperationCallback callback)
removeTag
Link copied to clipboard
public void removeTag(String tagId, IOperationCallback callback)
removeTagsFromConversation
Link copied to clipboard
public void removeTagsFromConversation(ConversationIdentifier conversationIdentifier, List<String> tagIds, IOperationCallback callback)
removeUltraMessageExpansion
Link copied to clipboard
public void removeUltraMessageExpansion(List<String> keyArray, String messageUId, IOperationCallback callback)
requestNav
Link copied to clipboard
public void requestNav(String appKey, String token, boolean notify, int reason)
saveMessageTranslation
Link copied to clipboard
public void saveMessageTranslation(int message, String content, String targetLanguage)
saveTextMessageDraft
Link copied to clipboard
public void saveTextMessageDraft(Conversation conversation, String content, IBooleanCallback callback)
searchConversationForAllChannel
Link copied to clipboard
public void searchConversationForAllChannel(String keyword, Array<int> types, Array<String> objName, IProgressResultCallback callback)
searchConversations
Link copied to clipboard
public void searchConversations(String keyword, Array<int> conversationTypes, Array<String> objName, String channelId, IProgressResultCallback callback)
searchFriendsInfo
Link copied to clipboard
public void searchFriendsInfo(String name, IProgressResultCallback callback)
searchGroupMembers
Link copied to clipboard
public void searchGroupMembers(String groupId, String nickname, PagingQueryOption option, IPageResultCallback callback)
searchJoinedGroups
Link copied to clipboard
public void searchJoinedGroups(String groupName, PagingQueryOption option, IPageResultCallback callback)
searchMessageByTimestampForAllChannel
Link copied to clipboard
public void searchMessageByTimestampForAllChannel(String targetId, int categoryId, String keyword, long startTime, long endTime, int offset, int limit, IProgressResultCallback callback)
searchMessageForAllChannel
Link copied to clipboard
public void searchMessageForAllChannel(String targetId, int categoryId, String keyword, int count, long timestamp, IProgressResultCallback callback)
searchMessages
Link copied to clipboard
public void searchMessages(String targetId, int conversationType, String channelId, String keyword, int count, long timestamp, IProgressResultCallback callback)
searchMessagesByContent
Link copied to clipboard
public List<Message> searchMessagesByContent(String targetId, int conversationType, String channelId, String keyword, Array<String> objectNameList, int limit, long startTime)
searchMessagesByTimestamp
Link copied to clipboard
public void searchMessagesByTimestamp(String targetId, int conversationType, String channelId, String keyword, long startTime, long endTime, int offset, int limit, IProgressResultCallback callback)
searchMessagesByUser
Link copied to clipboard
public void searchMessagesByUser(String targetId, int conversationType, String channelId, String userId, int count, long timestamp, IProgressResultCallback callback)
searchMessagesByUserForAllChannel
Link copied to clipboard
public void searchMessagesByUserForAllChannel(String targetId, int conversationType, String userId, int limit, long timestamp, IProgressResultCallback callback)
searchMessagesByUserForChannels
Link copied to clipboard
public void searchMessagesByUserForChannels(String targetId, int conversationType, Array<String> channelIds, String userId, int limit, long timestamp, IProgressResultCallback callback)
searchMessagesForChannels
Link copied to clipboard
public void searchMessagesForChannels(String targetId, int conversationType, Array<String> channelId, String keyword, int limit, long timestamp, IProgressResultCallback callback)
searchUserProfileByUniqueId
Link copied to clipboard
public void searchUserProfileByUniqueId(String uniqueId, IResultCallback callback)
sendDirectionalMediaMessage
Link copied to clipboard
public void sendDirectionalMediaMessage(Message message, Array<String> userIds, String pushContent, String pushData, ISendMediaMessageCallback sendMediaMessageCallback)
发送定向多媒体消息
sendDirectionalMessage
Link copied to clipboard
public void sendDirectionalMessage(Message message, String pushContent, String pushData, Array<String> userIds, ISendMessageCallback callback)
sendDirectionalMessageOption
Link copied to clipboard
public void sendDirectionalMessageOption(Message message, String pushContent, String pushData, Array<String> userIds, SendMessageOption option, ISendMessageCallback callback)
sendGroupCallSignalInfo
Link copied to clipboard
public void sendGroupCallSignalInfo(String targetId, String key, String signalInfo, IGroupCallSignalCallBack callback)
sendMediaMessage
Link copied to clipboard
public void sendMediaMessage(Message message, String pushContent, String pushData, ISendMediaMessageCallback sendMediaMessageCallback)
sendMediaMessageOption
Link copied to clipboard
public void sendMediaMessageOption(Message message, String pushContent, String pushData, SendMessageOption option, ISendMediaMessageCallback sendMediaMessageCallback)
sendMessageOption
Link copied to clipboard
public void sendMessageOption(Message message, String pushContent, String pushData, SendMessageOption option, ISendMessageCallback callback)
sendPing
Link copied to clipboard
public void sendPing()
立即发送 ping，无论当前状态
sendReadReceiptMessage
Link copied to clipboard
public void sendReadReceiptMessage(String targetId, String channelId, Array<String> msgUId, ISendReadReceiptMessageCallback callback)
sendReadReceiptMessageV4
Link copied to clipboard
public void sendReadReceiptMessageV4(int conversationType, String targetId, String channelId, String startMsgUid, String endMsgUid, ISendReadReceiptMessageCallback callback)
sendRTCDirectionalMessage
Link copied to clipboard
public void sendRTCDirectionalMessage(Message message, String pushContent, String pushData, Array<String> userIds, SendMessageOption option, boolean isFilterBlackList, ISendMessageCallback callback)
SendRTCHeartbeat
Link copied to clipboard
public void SendRTCHeartbeat(Array<String> roomId, int timeout)
SendRTCSignaling
Link copied to clipboard
public int SendRTCSignaling(String roomId, String signalingName, boolean isQuery, Array<byte> pbBuffer, int timeout, IRTCSignalingCallback callback)
sendUltraGroupTypingStatus
Link copied to clipboard
public void sendUltraGroupTypingStatus(String targetId, String channelId, int operateType, IOperationCallback callback)
setCheckDuplicateMessage
Link copied to clipboard
public void setCheckDuplicateMessage(boolean enableCheck)
setConnectionStatusListener
Link copied to clipboard
public void setConnectionStatusListener(IConnectionStatusListener listener)
setConversationListener
Link copied to clipboard
public void setConversationListener(IConversationListener listener)
setConversationNotificationLevel
Link copied to clipboard
public void setConversationNotificationLevel(int type, String targetId, int level, IOperationCallback callback)
setConversationNotificationStatus
Link copied to clipboard
public void setConversationNotificationStatus(int type, String targetId, String channelId, int level, IOperationCallback callback)
setConversationsNotificationLevel
Link copied to clipboard
public void setConversationsNotificationLevel(List<ConversationIdentifier> conversationIdentifierList, int level, IOperationCallback callback)
setConversationStatusListener
Link copied to clipboard
public void setConversationStatusListener(ConversationStatusListener listener)
setConversationsTopStatus
Link copied to clipboard
public void setConversationsTopStatus(List<ConversationIdentifier> conversationIdentifierList, boolean isTop, boolean needCreate, IBooleanCallback callback)
setConversationTopStatus
Link copied to clipboard
public void setConversationTopStatus(int typeValue, String targetId, String channelId, boolean isTop, boolean needCreate, boolean needUpdateTime, IBooleanCallback callback)
setConversationToTopInTag
Link copied to clipboard
public void setConversationToTopInTag(String tagId, ConversationIdentifier conversationIdentifier, boolean isTop, IOperationCallback callback)
setConversationTypeNotificationLevel
Link copied to clipboard
public void setConversationTypeNotificationLevel(int type, int level, IOperationCallback callback)
SetDataBaseLogConfig
Link copied to clipboard
public int SetDataBaseLogConfig(int time)
setFriendAddPermission
Link copied to clipboard
public void setFriendAddPermission(int permission, IOperationCallback callback)
setFriendEventListener
Link copied to clipboard
public void setFriendEventListener(IFriendEventListener listener)
setFriendInfo
Link copied to clipboard
public void setFriendInfo(String userId, String remark, Map extFields, IOperationCallback callback)
setGroupCallSignalListener
Link copied to clipboard
public void setGroupCallSignalListener(IGroupCallSignalListener listener)
setGroupEventListener
Link copied to clipboard
public void setGroupEventListener(IGroupEventListener listener)
setGroupMemberInfo
Link copied to clipboard
public void setGroupMemberInfo(String groupId, String userId, String nickname, String extra, IOperationCallback callback)
setGroupRemark
Link copied to clipboard
public void setGroupRemark(String groupId, String remark, IOperationCallback callback)
setIMProxy
Link copied to clipboard
public void setIMProxy(RCIMProxy proxy)
setInitOption
Link copied to clipboard
public void setInitOption(InitOption initOption)
setLogListener
Link copied to clipboard
public void setLogListener(IStringCallback listener)
setMessageContent
Link copied to clipboard
public boolean setMessageContent(int messageId, Array<byte> messageContent, String objectName)
setMessageDeliverListener
Link copied to clipboard
public void setMessageDeliverListener(IMessageDeliverListener listener)
setMessageExpansionListener
Link copied to clipboard
public void setMessageExpansionListener(IMessageExpansionListener listener)
setMessageExtra
Link copied to clipboard
public void setMessageExtra(int messageId, String values, IBooleanCallback callback)
setMessageReadTime
Link copied to clipboard
public void setMessageReadTime(long messageId, long timestamp, IBooleanCallback callback)
setMessageReceivedStatus
Link copied to clipboard
public boolean setMessageReceivedStatus(int messageId, int status)
setMessageSentStatus
Link copied to clipboard
public void setMessageSentStatus(int messageId, int status, IBooleanCallback callback)
setNotificationQuietHours
Link copied to clipboard
public void setNotificationQuietHours(String startTime, int spanMinutes, int level, IOperationCallback callback)
setOfflineMessageDuration
Link copied to clipboard
public void setOfflineMessageDuration(String duration, ILongCallback callback)
setOnReceiveMessageListener
Link copied to clipboard
public void setOnReceiveMessageListener(OnReceiveMessageListener listener)
setPushSetting
Link copied to clipboard
public void setPushSetting(int key, String value, IOperationCallback callback)
setReconnectKickEnable
Link copied to clipboard
public void setReconnectKickEnable(boolean enable)
setRLogLevel
Link copied to clipboard
public void setRLogLevel(int level)
SetRTCHeartbeatListener
Link copied to clipboard
public void SetRTCHeartbeatListener(IRTCHeartbeatListenerEx listener)
SetRTCRoomEventListener
Link copied to clipboard
public void SetRTCRoomEventListener(IRTCRoomEventListener listener)
setUltraGroupConversationChannelDefaultNotificationLevel
Link copied to clipboard
public void setUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, int level, IOperationCallback callback)
setUltraGroupConversationDefaultNotificationLevel
Link copied to clipboard
public void setUltraGroupConversationDefaultNotificationLevel(String targetId, int level, IOperationCallback callback)
setUltraGroupEventListener
Link copied to clipboard
public void setUltraGroupEventListener(ReceiveUltraGroupEventListener listener)
setUserPolicy
Link copied to clipboard
public void setUserPolicy(boolean enable)
setUserProfileListener
Link copied to clipboard
public void setUserProfileListener(UserProfileSettingListener listener)
solveServerHosts
Link copied to clipboard
public void solveServerHosts(String server, ISolveServerHostsCallBack callback)
subscribeEvent
Link copied to clipboard
public void subscribeEvent(SubscribeEventRequest request, ISubscribeEventCallback callback)
supportResumeBrokenTransfer
Link copied to clipboard
public void supportResumeBrokenTransfer(String url, IBooleanCallback callback)
switchAppKey
Link copied to clipboard
public void switchAppKey(String appKey, String deviceId)
syncRcConfiguration
Link copied to clipboard
public void syncRcConfiguration(RCConfiguration configuration)
syncUltraGroupReadStatus
Link copied to clipboard
public void syncUltraGroupReadStatus(String targetId, String channelId, long timestamp, IOperationCallback callback)
transferGroupOwner
Link copied to clipboard
public void transferGroupOwner(String groupId, String newOwnerId, boolean quitGroup, QuitGroupConfig config, IOperationCallback callback)
unreadCountDroveByServer
Link copied to clipboard
public boolean unreadCountDroveByServer()
unSubscribeEvent
Link copied to clipboard
public void unSubscribeEvent(SubscribeEventRequest request, ISubscribeEventCallback callback)
updateConversationInfo
Link copied to clipboard
public void updateConversationInfo(int type, String targetId, String channelId, String title, String portrait, IBooleanCallback callback)
updateConversationReadTime
Link copied to clipboard
public void updateConversationReadTime(int conversationType, String targetId, String channelId, long readTime, IOperationCallback callback)
updateGroupFollows
Link copied to clipboard
public void updateGroupFollows(String groupId, List<String> userIds, boolean isSetFollows, IOperationCallback callback)
updateGroupInfo
Link copied to clipboard
public void updateGroupInfo(GroupInfo groupInfo, IOperationCallbackEx callback)
updateGroupManagers
Link copied to clipboard
public void updateGroupManagers(String groupId, List<String> managerUserIds, boolean isRemoveManager, IOperationCallback callback)
updateMessageExpansion
Link copied to clipboard
public void updateMessageExpansion(Map expansion, String messageUId, IOperationCallback callback)
updateMessageReceiptStatus
Link copied to clipboard
public void updateMessageReceiptStatus(String targetId, int categoryId, String channelId, long timestamp, IBooleanCallback callback)
updateMyUserProfile
Link copied to clipboard
public void updateMyUserProfile(UserProfile userProfile, IUpdateUserProfileCallback callback)
updateMyUserProfileVisibility
Link copied to clipboard
public void updateMyUserProfileVisibility(int visibility, IBooleanCallback callback)
updateReadReceiptRequestInfo
Link copied to clipboard
public boolean updateReadReceiptRequestInfo(String msgUId, String info)
updateTag
Link copied to clipboard
public void updateTag(TagInfo tagInfo, IOperationCallback callback)
updateUltraGroupMessageExpansion
Link copied to clipboard
public void updateUltraGroupMessageExpansion(Map expansion, String messageUId, IOperationCallback callback)
uploadMedia
Link copied to clipboard
public void uploadMedia(Message message, IUploadCallback callback)
uploadSDKVersion
Link copied to clipboard
public void uploadSDKVersion(String version, String appVersion)
writeFwLog
Link copied to clipboard
public void writeFwLog(int level, int type, String tag, String metaJson, long timestamp, boolean writeDb)