RSIMEngine class

Properties

hashCode → int
The hash code for this object.
no setterinherited
isDestroyed → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptFriendApplication(String userId, {required RSIMFriendOperationCallback callback}) → void
addConversationsToTag(String tagId, List<RSIMConversationIdentifier> conversations, {required RSIMTagOperationCallback callback}) → void
addFriend(String userId, {int direction = 0, String extra = '', required RSIMResultCallback<List<int>> callback}) → void
addMessageReaction(RSIMMessageReactionParams params, {required RSIMResultCallback<void> callback}) → void
addTag(RSIMTagInfo tagInfo, {required RSIMTagOperationCallback callback}) → void
addToBlackList(String userId, {required RSIMBlackListOperationCallback callback}) → void
batchGetFirstUnreadMessages(List<RSIMConversationIdentifier> conversations, {required RSIMGetFirstUnreadMessagesCallback callback}) → void
batchGetMessageReactionSummaries(RSIMConversationIdentifier conversationIdentifier, List<String> messageUids, {required RSIMResultCallback<List<RSIMMessageReactionInfo>> callback}) → void
cancelDownloadFile(String uniqueId, {required RSIMMessageOperationCallback callback}) → void
cancelDownloadMediaMessage(int messageId, {required RSIMMessageOperationCallback callback}) → void
cancelRtcSignaling(List<int> requestIds, {required RSIMRtcOperationCallback callback}) → void
cancelSendMediaMessage(int messageId, {required RSIMMessageOperationCallback callback}) → void
checkFriends(List<String> userIds, {int direction = 0, required RSIMResultCallback<List<RSIMFriendRelationInfo>> callback}) → void
checkUserIdInGroup(String groupId, List<String> userIds, {required RSIMCheckUserIdInGroupCallback callback}) → void
cleanLocalHistoryMessages({required int conversationType, required String targetId, String? channelId, int leSendTime = 0, required RSIMMessageOperationCallback callback}) → void
cleanRemoteHistoryMessages({required int conversationType, required String targetId, String? channelId, int leSendTime = 0, required RSIMMessageOperationCallback callback}) → void
clearConversationsByTag(String tagId, bool deleteMsg, {required RSIMClearConversationsByTagCallback callback}) → void
clearEditedMessageDraft(RSIMConversationIdentifier identifier, {required RSIMResultCallback<void> callback}) → void
clearLocalConversations(List<int> conversationTypes, {required RSIMResultCallback<void> callback}) → void
clearLocalMessageByTimestamp({required int conversationType, required String targetId, String channelId = '', required int sendTime, required RSIMResultCallback<bool> callback}) → void
clearMessagesUnreadStatus(int conversationType, String targetId, String? channelId, {required RSIMResultCallback<void> callback}) → void
clearMessagesUnreadStatusBySendTime(int conversationType, String targetId, String? channelId, int sendTime, {required RSIMResultCallback<void> callback}) → void
clearMessagesUnreadStatusByTag(String tagId, {required RSIMClearMessagesUnreadStatusByTagCallback callback}) → void
connect(String token, {int timeoutSec = 0, required RSIMConnectCallback callback}) → void
createLocalConversation(List<RSIMConversationIdentifier> conversations, {required RSIMResultCallback<void> callback}) → void
deleteChatroomKvs(String roomId, List<String> keys, {bool force = false, bool sendNotification = false, String notificationExtra = '', required RSIMChatroomKvCallback callback}) → void
deleteFriends(List<String> userIds, {int direction = 0, required RSIMFriendOperationCallback callback}) → void
deleteLocalMessages({required int conversationType, required String targetId, String? channelId, required RSIMMessageOperationCallback callback}) → void
deleteLocalMessagesByIds(List<int> messageIds, {required RSIMMessageOperationCallback callback}) → void
deleteRemoteMessages({required int conversationType, required String targetId, String? channelId, required List<RSIMMessage> messages, bool isDeleteLocal = false, required RSIMMessageOperationCallback callback}) → void
deleteUltraGroupMessagesForAllChannel(String targetId, {required int timestamp, required RSIMResultCallback<bool> callback}) → void
destroy() → RSIMResult<void>
disconnect(int mode, {required RSIMDisconnectCallback callback}) → void
downloadFileWithUniqueId(String uniqueId, String remoteUrl, String fileName, {required RSIMDownloadMediaCallback callback, RSIMDownloadFileProgressCallback? progressCallback}) → void
downloadMediaMessage(int messageId, {required RSIMDownloadMediaCallback callback, RSIMDownloadMessageProgressCallback? progressCallback}) → void
getAllRobots({required RSIMGetRobotsCallback callback}) → void
getAndRefreshAllRobots({int mode = RSIMRobotInfoFetchMode.preferCache, required RSIMGetRobotsCallback callback}) → void
getAppSettings({required RSIMGetAppSettingsCallback callback}) → void
getBatchRemoteUltraGroupMessages(List<RSIMMessage> messages, {required RSIMResultCallback<RSIMUltraGroupBatchMessages> callback}) → void
getBlackList({required RSIMGetBlackListCallback callback}) → void
getBlackListStatus(String userId, {required RSIMGetBlackListStatusCallback callback}) → void
getChatroomAllKvs(String roomId, {required RSIMChatroomKvGetCallback callback}) → void
getChatroomInfo(String roomId, {int queryCount = 0, int order = 0, required RSIMGetChatroomInfoCallback callback}) → void
getCloudType() → RSIMResult<int>
getConnectionStatus() → RSIMResult<int>
getConversationListForAllChannel({required int conversationType, required String targetId, required RSIMResultCallback<List<RSIMUltraGroupConversation>> callback}) → void
getConversationsFromTagByPage(String tagId, {required int timestamp, required int count, required RSIMResultCallback<List<RSIMConversation>> callback}) → void
getConversationsIncludingRobots(List<int> conversationTypes, {int sendTime = 0, int count = 100, bool topPriority = false, required RSIMConversationListCallback callback}) → void
getConversationTopStatusInTag(RSIMConversationIdentifier conversation, String tagId, {required RSIMResultCallback<bool> callback}) → void
getConversationTypeMuteLevel(int conversationType, {required RSIMGetConversationTypeMuteLevelCallback callback}) → void
getDeltaTime({required RSIMResultCallback<int> callback}) → void
getDevicesInfo({List<int> onlineStatuses = const <int>[], int timestamp = 0, int count = 100, required RSIMGetDevicesInfoCallback callback}) → void
getDownloadInfo(String uniqueId, {required RSIMGetDownloadInfoCallback callback}) → void
getEditedMessageDraft(RSIMConversationIdentifier identifier, {required RSIMResultCallback<RSIMModifyMessageDraft?> callback}) → void
getFirstUnreadMessage(int conversationType, String targetId, String? channelId, {required RSIMMessageNullableCallback callback}) → void
getFriendAddPermission({required RSIMResultCallback<int> callback}) → void
getFriendApplications({String pageToken = '', int pageCount = 20, int order = 0, List<int> requestTypes = const <int>[], List<int> requestStatuses = const <int>[], required RSIMResultCallback<RSIMFriendRequestListResult> callback}) → void
getFriends({int direction = 0, required RSIMResultCallback<List<RSIMFriendInfo>> callback}) → void
getFriendsInfo(List<String> userIds, {required RSIMResultCallback<List<RSIMFriendInfo>> callback}) → void
getGroupFavoriteMembers(String groupId, {required RSIMGetGroupFavoriteMembersCallback callback}) → void
getGroupMembersByIds(String groupId, List<String> userIds, {required RSIMGetGroupMembersCallback callback}) → void
getGroupMembersByIdsWithMode(String groupId, List<String> userIds, int mode, {required RSIMGetGroupMembersCallback callback}) → void
getGroupMembersByRole(String groupId, List<int> roles, {String? pageToken, int count = 100, int order = RSIMOrder.ascending, int filterRobotType = RSIMFilterRobotType.all, required RSIMGetPagedGroupMembersCallback callback}) → void
getGroupMembersByRoleWithMode(String groupId, List<int> roles, {String? pageToken, int count = 100, int order = RSIMOrder.ascending, int filterRobotType = RSIMFilterRobotType.all, int mode = RSIMDataFetchMode.forceRemote, required RSIMGetPagedGroupMembersCallback callback}) → void
getGroupMuteMembers(String groupId, {String? pageToken, int count = 100, int order = RSIMOrder.ascending, required RSIMGetPagedGroupMembersCallback callback}) → void
getGroupMuteWhitelist(String groupId, {required RSIMGetGroupMembersCallback callback}) → void
getGroupRequestList(List<int> directions, List<int> statuses, {String? pageToken, int count = 200, int order = RSIMOrder.ascending, required RSIMGetPagedGroupRequestCallback callback}) → void
getGroupsInfoByIds(List<String> groupIds, {required RSIMGetGroupInfoListCallback callback}) → void
getGroupsInfoByIdsWithMode(List<String> groupIds, {int mode = RSIMGroupInfoFetchMode.updateAll, int dataFetchMode = RSIMDataFetchMode.forceRemote, required RSIMGetGroupInfoListCallback callback}) → void
getJoinedGroupByIds(List<String> groupIds, {required RSIMGetGroupInfoListCallback callback}) → void
getJoinedGroupByName(String groupName, {String? pageToken, int count = 100, int order = RSIMOrder.ascending, required RSIMGetPaginatedGroupInfoCallback callback}) → void
getJoinedGroupByRoles(List<int> roles, {String? pageToken, int count = 200, int order = RSIMOrder.ascending, required RSIMGetPaginatedGroupInfoCallback callback}) → void
getLocalChatroomKvByKeys(String roomId, List<String> keys, {required RSIMChatroomKvGetCallback callback}) → void
getLocalConversation(int conversationType, String targetId, String? channelId, {required RSIMConversationCallback callback}) → void
getLocalConversationList(List<int> conversationTypes, {int sendTime = 0, int count = 100, bool topPriority = false, required RSIMConversationListCallback callback}) → void
getLocalConversationListWithOption(RSIMGetConversationListOption option, {required RSIMConversationListCallback callback}) → void
getLocalConversationMuteLevel(int conversationType, String targetId, String? channelId, {required RSIMCountCallback callback}) → void
getLocalConversationPinStatus(int conversationType, String targetId, String? channelId, {required RSIMBoolCallback callback}) → void
getLocalConversationsByPage(List<int> conversationTypes, {int sendTime = 0, int count = 100, required RSIMConversationListCallback callback}) → void
getLocalHistoryMessagesById(RSIMConversationIdentifier conversation, List<String>? objectNames, int messageId, int beforeCount, int afterCount, {required RSIMGetMessageListCallback callback}) → void
getLocalHistoryMessagesBySenders(RSIMConversationIdentifier conversation, List<String> senderIds, List<String>? objectNames, int count, int startTime, int order, {required RSIMGetMessageListCallback callback}) → void
getLocalHistoryMessagesByTime(RSIMConversationIdentifier conversation, List<String>? objectNames, int startTime, int beforeCount, int afterCount, {required RSIMGetMessageListCallback callback}) → void
getLocalMessageById(int messageId, {required RSIMGetMessageCallback callback}) → void
getLocalMessageByUid(String messageUid, {required RSIMGetMessageCallback callback}) → void
getLocalMessagesByObjectName(RSIMConversationIdentifier conversation, List<String> objectNames, int count, int startTime, int order, {required RSIMGetMessageListCallback callback}) → void
getLocalPinConversationsByPage(List<int> conversationTypes, {int sendTime = 0, int count = 100, bool isPinned = true, required RSIMConversationListCallback callback}) → void
getLocalUnreadConversation(List<int> conversationTypes, {bool topPriority = false, required RSIMConversationListCallback callback}) → void
getMessageCount(RSIMConversationIdentifier conversation, {required RSIMCountCallback callback}) → void
getMessageCountDetail(RSIMConversationIdentifier conversation, RSIMMessageCountDetailOptions options, {required RSIMGetMessageCountDetailCallback callback}) → void
getMessageReactions(String messageUid, {String? pageToken, required int count, required RSIMResultCallback<RSIMMessageReactionPage> callback}) → void
getMessageReactionUsers(RSIMMessageIdentifier messageIdentifier, String reactionId, {String? pageToken, required int count, required RSIMResultCallback<RSIMMessageReactionUserPage> callback}) → void
getMessageReadReceiptInfoByIdentifierV5(List<RSIMMessageIdentifier> messageIdentifiers, {required RSIMResultCallback<List<RSIMReadReceiptInfoV5>> callback}) → void
getMessageReadReceiptInfoV5(RSIMConversationIdentifier conversation, List<String> messageUids, {required RSIMResultCallback<List<RSIMReadReceiptInfoV5>> callback}) → void
getMessageReadReceiptUsersByPageV5(RSIMMessageIdentifier messageIdentifier, {String? pageToken, required int count, required int readStatus, required int order, required RSIMResultCallback<RSIMReadReceiptUsersResultV5> callback}) → void
getMessageReadReceiptUsersByUsersV5(RSIMMessageIdentifier messageIdentifier, List<String> userIds, {required RSIMResultCallback<RSIMReadReceiptUsersResultV5> callback}) → void
getMessageReadReceiptUsersV5(RSIMMessageIdentifier messageIdentifier, {required RSIMResultCallback<RSIMReadReceiptUsersResultV5> callback}) → void
getMessages(RSIMConversationIdentifier conversation, int startTime, int count, int order, {required RSIMGetMessagesCallback callback}) → void
getMessagesByUid(RSIMGetMessagesByUidParams params, {required RSIMGetMessagesByUidCallback callback}) → void
getMyUserProfile({required RSIMGetUserProfileCallback callback}) → void
getMyUserProfileVisibility({required RSIMGetMyUserProfileVisibilityCallback callback}) → void
getNaviDataValues(List<String> keys, {required RSIMGetNaviDataValuesCallback callback}) → void
getNoDisturbing({required RSIMResultCallback<RSIMNoDisturbing> callback}) → void
getPushContentShowStatus({required RSIMGetPushContentShowStatusCallback callback}) → void
getPushLanguageCode({required RSIMGetPushLanguageCodeCallback callback}) → void
getPushReceiveStatus({required RSIMGetPushReceiveStatusCallback callback}) → void
getReadReceiptV2Readers(RSIMMessageIdentifier messageIdentifier, {required RSIMResultCallback<RSIMReadReceiptV2ReadersResult> callback}) → void
getRemoteHistoryMessages(RSIMConversationIdentifier conversation, int startTime, int count, int order, bool includeSent, {required RSIMGetMessageListCallback callback}) → void
getRobotById(String robotId, {required RSIMGetRobotByIdCallback callback}) → void
getSdkBuildInfo({required RSIMResultCallback<String> callback}) → void
getSdkVersion({required RSIMResultCallback<String> callback}) → void
getSubscribeUsersOnlineStatus(List<String> userIds, {required RSIMSubscribeUserOnlineStatusCallback callback}) → void
getTags({required RSIMGetTagInfoListCallback callback}) → void
getTagsFromConversation(RSIMConversationIdentifier conversation, {required RSIMGetConversationTagInfoListCallback callback}) → void
getTextMessageDraft(int conversationType, String targetId, String? channelId, {required RSIMStringCallback callback}) → void
getTotalUnreadCount(String? channelId, {required RSIMCountCallback callback}) → void
getTranslateAutomaticEnable({required RSIMGetTranslateAutomaticEnableCallback callback}) → void
getTranslateLanguage({required RSIMGetTranslateLanguageCallback callback}) → void
getUltraGroupAllUnreadCount({required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupAllUnreadMentionedCount({required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupChannelList(String targetId, {required int channelType, required RSIMResultCallback<List<RSIMUltraGroupConversation>> callback}) → void
getUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, {required RSIMResultCallback<int> callback}) → void
getUltraGroupConversationDefaultNotificationLevel(String targetId, {required RSIMResultCallback<int> callback}) → void
getUltraGroupConversationUnreadInfoList(List<String> targetIds, {required RSIMResultCallback<List<RSIMUltraGroupConversationUnreadInfo>> callback}) → void
getUltraGroupMessageCountByTimeRange(String targetId, List<String> channelIds, {required int startTime, required int endTime, required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupUnreadCount(String targetId, {required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupUnreadCountByMuteLevel(String targetId, List<int> levels, {required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupUnreadMentionedCount(String targetId, {required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupUnreadMentionedCountByMuteLevel(String targetId, List<int> levels, {required RSIMUltraGroupCountCallback callback}) → void
getUltraGroupUnreadMentionedDigests(String targetId, String channelId, {int sendTime = 0, int count = 20, required RSIMResultCallback<List<RSIMUltraGroupMessageDigest>> callback}) → void
getUnreadCount(int conversationType, String targetId, String? channelId, {required RSIMCountCallback callback}) → void
getUnreadCountByConversations(List<RSIMConversationIdentifier> conversations, {required RSIMCountCallback callback}) → void
getUnreadCountByConversationTypes(List<int> conversationTypes, {String? channelId, bool containBlocked = false, required RSIMCountCallback callback}) → void
getUnreadCountByLevels(List<int> conversationTypes, List<int> levels, {required RSIMCountCallback callback}) → void
getUnreadCountByTag(String tagId, {required bool containBlocked, required RSIMResultCallback<int> callback}) → void
getUnreadMentionedMessages(int conversationType, String targetId, String? channelId, {int count = 100, int order = 0, required RSIMResultCallback<List<RSIMMessage>> callback}) → void
getUntaggedConversationListByPage({required int timestamp, required int count, required bool topPriority, required RSIMResultCallback<List<RSIMConversation>> callback}) → void
getUserId({required RSIMResultCallback<String> callback}) → void
getUserProfiles(List<String> userIds, {required RSIMGetUserProfilesCallback callback}) → void
getUserProfilesWithMode(List<String> userIds, {int mode = RSIMUserProfileFetchMode.preferCache, required RSIMGetUserProfilesCallback callback}) → void
groupCreate(String groupId, RSIMGroupOperationInfo groupInfo, {List<String>? inviteeUserIds, required RSIMGroupOperationCallback callback}) → void
groupDisband(String groupId, {required RSIMGroupOperationCallback callback}) → void
groupHandleInvite(String groupId, {String? inviterId, String? joinerId, String? reason, required bool isAgree, required bool isManager, required RSIMGroupOperationCallback callback}) → void
groupInviteUsers(String groupId, List<String> userIds, {required RSIMGroupOperationCallback callback}) → void
groupJoin(String groupId, {required RSIMGroupOperationCallback callback}) → void
groupKickMembers(String groupId, List<String> userIds, {RSIMGroupQuitConfig? config, required RSIMGroupOperationCallback callback}) → void
groupQuit(String groupId, {RSIMGroupQuitConfig? config, required RSIMGroupOperationCallback callback}) → void
groupTransfer(String groupId, String newOwnerId, {required bool autoQuit, RSIMGroupQuitConfig? config, required RSIMGroupOperationCallback callback}) → void
groupUpdateFavoriteMembers(String groupId, List<String> userIds, {required int addFavorite, required RSIMGroupOperationCallback callback}) → void
groupUpdateInfo(String groupId, RSIMGroupOperationInfo groupInfo, {required RSIMGroupOperationCallback callback}) → void
groupUpdateManager(String groupId, List<String> userIds, {required int isAddManager, required RSIMGroupOperationCallback callback}) → void
groupUpdateMemberInfo(String groupId, String userId, {String? nickname, String? extra, required RSIMGroupOperationCallback callback}) → void
groupUpdateMuteMembers(String groupId, {required int muteType, int durationMinutes = 0, List<String> memberIds = const <String>[], required RSIMGroupOperationCallback callback}) → void
groupUpdateMuteWhitelist(String groupId, List<String> memberIds, {required int addType, required RSIMGroupOperationCallback callback}) → void
groupUpdateRemark(String groupId, {String? remark, required RSIMGroupOperationCallback callback}) → void
insertLocalMessage(RSIMMessage message, {required RSIMInsertLocalMessageCallback callback}) → void
insertLocalMessages(List<RSIMMessage> messages, {required RSIMMessageOperationCallback callback}) → void
insertLog(RSIMInsertLogInfo info, {required RSIMResultCallback<void> callback}) → void
insertStat(RSIMInsertStatInfo info, {required RSIMResultCallback<void> callback}) → void
joinChatroom(String roomId, {int messageCount = 0, String extra = '', required RSIMJoinChatroomCallback callback}) → void
joinExistingChatroom(String roomId, {int messageCount = 0, String extra = '', required RSIMJoinChatroomCallback callback}) → void
markConversations(List<RSIMConversationIdentifier> conversations, int markType, bool value, {bool needCreate = false, bool needUpdateTime = false, required RSIMResultCallback<void> callback}) → void
messageBeginDestruct(RSIMMessage message, {required RSIMMessageOperationCallback callback}) → void
messageStopDestruct(RSIMMessage message, {required RSIMMessageOperationCallback callback}) → void
modifyMessage(RSIMModifyMessageParams params, {required RSIMResultCallback<RSIMMessage> callback}) → void
modifyUltraGroupMessage(String messageUid, {required String objectName, required String content, String searchContent = '', required RSIMUltraGroupOperationCallback callback}) → void
muteConversations(List<RSIMConversationIdentifier> conversations, int muteLevel, {required RSIMResultCallback<void> callback}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseDownloadFile(String uniqueId, {required RSIMMessageOperationCallback callback}) → void
pauseDownloadMediaMessage(int messageId, {required RSIMMessageOperationCallback callback}) → void
pinConversations(List<RSIMConversationIdentifier> conversations, {bool isPinned = true, bool needCreate = false, bool needUpdateTime = false, required RSIMResultCallback<void> callback}) → void
querySubscribeEvent(RSIMSubscribeEventRequest request, {required RSIMSubscribeInfoEventCallback callback}) → void
querySubscribeEventByPageSize(RSIMSubscribeEventRequest request, {required int pageSize, int startIndex = 0, required RSIMSubscribeInfoEventCallback callback}) → void
quitChatroom(String roomId, {String extra = '', required RSIMChatroomOperationCallback callback}) → void
recallMessage(RSIMMessage message, {RSIMRecallMessageOption? option, required RSIMRecallMessageCallback callback}) → void
recallUltraGroupMessage(RSIMMessage message, {bool isDelete = false, required RSIMUltraGroupOperationCallback callback}) → void
refreshReferenceMessage(RSIMConversationIdentifier conversation, List<String> messageUids, {required RSIMRefreshReferenceMessageCallback callback}) → void
refuseFriendApplication(String userId, {required RSIMFriendOperationCallback callback}) → void
registerMessageTypes(List<RSIMMessageType> messageTypes) → RSIMResult<void>
registerMessageTypeWithSearchableKey(RSIMMessageType messageType, List<String> searchableKeys) → RSIMResult<void>
removeConversationAttributes(RSIMConversationIdentifier conversation, List<String> keys, {required RSIMResultCallback<void> callback}) → void
removeConversations(List<RSIMConversationIdentifier> conversations, {required RSIMResultCallback<void> callback}) → void
removeConversationsFromTag(String tagId, List<RSIMConversationIdentifier> conversations, {required RSIMTagOperationCallback callback}) → void
removeDevices({required int removeType, List<RSIMPlatform> platforms = const <RSIMPlatform>[], List<String> deviceIds = const <String>[], required RSIMRemoveDevicesCallback callback}) → void
removeFromBlackList(String userId, {required RSIMBlackListOperationCallback callback}) → void
removeLocalConversations(List<RSIMConversationIdentifier> conversations, {required RSIMResultCallback<void> callback}) → void
removeMessageExpansion(List<String> keys, String messageUid, {required RSIMResultCallback<void> callback}) → void
removeMessageReaction(RSIMMessageReactionParams params, {required RSIMResultCallback<void> callback}) → void
removeRemoteConversations(List<RSIMConversationIdentifier> conversations, {required RSIMResultCallback<void> callback}) → void
removeTag(String tagId, {required RSIMTagOperationCallback callback}) → void
removeTagsFromConversation(RSIMConversationIdentifier conversation, List<String> tagIds, {required RSIMTagOperationCallback callback}) → void
removeUltraGroupMessageExpansion(String messageUid, List<String> keys, {required RSIMUltraGroupOperationCallback callback}) → void
requestSpeechToTextByUid(String messageUid, {required RSIMMessageOperationCallback callback}) → void
requestSpeechToTextByUrl(String remoteUrl, {required int numberOfChannels, required int sampleRate, String? format, required RSIMRequestSpeechToTextByUrlCallback callback}) → void
requestStreamMessage(RSIMStreamMessageRequestParams params, {required RSIMMessageOperationCallback callback}) → void
rtcSetKvSignaling(String targetId, String key, String value, {required RSIMRtcSetKvSignalingCallback callback}) → void
saveEditedMessageDraft(RSIMModifyMessageDraft draft, RSIMConversationIdentifier identifier, {required RSIMResultCallback<void> callback}) → void
saveTextMessageDraft(int conversationType, String targetId, String? channelId, String? draft, {required RSIMResultCallback<void> callback}) → void
searchFriendsInfo(String name, {required RSIMResultCallback<List<RSIMFriendInfo>> callback}) → void
searchGroupMembers(String groupId, String nickName, {String? pageToken, int count = 100, int order = RSIMOrder.ascending, required RSIMGetPagedGroupMembersCallback callback}) → void
searchLocalConversations(List<int> conversationTypes, String? channelId, List<String> objectNames, String keyword, {required RSIMConversationListCallback callback}) → void
searchLocalGroupByPage(String keyword, {int searchType = RSIMSearchGroupType.groupAndMember, String? pageToken, int count = 100, required RSIMSearchGroupInfoResultCallback callback}) → void
searchLocalGroupMemberByPage(String groupId, String keyword, {int memberType = RSIMSearchGroupMemberType.all, int memberRole = RSIMGroupMemberRole.undef, String? pageToken, int count = 100, required RSIMSearchGroupMemberInfoResultCallback callback}) → void
searchLocalMessages(RSIMConversationIdentifier conversation, String keyword, int count, int startTime, {required RSIMGetMessageListCallback callback}) → void
searchLocalMessagesByMultipleConversations(List<int> conversationTypes, List<String> targetIds, List<String> channelIds, List<String> objectNames, String? keyword, int count, int startTime, int order, {required RSIMGetMessageListCallback callback}) → void
searchLocalMessagesByObjectName(RSIMConversationIdentifier conversation, String keyword, List<String> objectNames, int count, int startTime, {required RSIMGetMessageListCallback callback}) → void
searchLocalMessagesByTime(RSIMConversationIdentifier conversation, String keyword, int count, int startTime, int endTime, int offset, {required RSIMGetMessageListCallback callback}) → void
searchLocalMessagesByUserId(RSIMConversationIdentifier conversation, String userId, int count, int startTime, {required RSIMGetMessageListCallback callback}) → void
searchLocalMessagesByUserIdForChannels(int conversationType, String targetId, List<String> channelIds, String userId, int count, int startTime, {required RSIMGetMessageListCallback callback}) → void
searchLocalMessagesWithParams(List<int> conversationTypes, List<String> targetIds, List<String> channelIds, List<String> objectNames, List<String> senderIds, String? keyword, int startTime, int endTime, int offset, int count, int order, bool needMatchCount, {required RSIMSearchMessagesCallback callback}) → void
searchLocalMessagesWithParamsV2(RSIMSearchMessageParams params, {required RSIMSearchMessagesCallback callback}) → void
searchRemoteGroupByPage(String keyword, {int searchType = RSIMSearchGroupType.groupAndMember, String? pageToken, int count = 100, required RSIMSearchGroupInfoResultCallback callback}) → void
searchRemoteGroupMemberByPage(String groupId, String keyword, {int memberType = RSIMSearchGroupMemberType.all, int memberRole = RSIMGroupMemberRole.undef, String? pageToken, int count = 100, required RSIMSearchGroupMemberInfoResultCallback callback}) → void
searchUserProfileByUniqueId(String uniqueId, {required RSIMGetUserProfileCallback callback}) → void
sendMediaMessage({required RSIMMessage message, RSIMSendMessageOption? option, required RSIMSendMessageCallback callback, RSIMMessageSavedCallback? savedCallback, RSIMSendMediaMessageProgressCallback? progressCallback}) → void
sendMessage({required RSIMMessage message, RSIMSendMessageOption? option, required RSIMSendMessageCallback callback, RSIMMessageSavedCallback? savedCallback}) → void
sendReadReceiptMessage(RSIMConversationIdentifier conversation, int timestamp, {required RSIMResultCallback<RSIMMessage> callback}) → void
sendReadReceiptRequest(String messageUid, {required RSIMResultCallback<void> callback}) → void
sendReadReceiptResponse(RSIMConversationIdentifier conversation, List<RSIMSendReadReceiptResponseMessageData> messages, {required RSIMResultCallback<List<RSIMMessage>> callback}) → void
sendReadReceiptResponseV2(RSIMConversationIdentifier conversation, List<String> messageUids, {required RSIMResultCallback<List<RSIMMessage>> callback}) → void
sendReadReceiptResponseV5(RSIMConversationIdentifier conversation, List<String> messageUids, {required RSIMResultCallback<List<RSIMMessage>> callback}) → void
sendRtcHeartbeat(List<String> roomIds, {int timeoutSec = 0, required RSIMRtcOperationCallback callback}) → void
sendRtcSignaling(String roomId, String methodName, {required bool isQuery, required Uint8List data, int timeoutSec = 0, required RSIMSendRtcSignalingCallback callback, RSIMRtcRequestIdCallback? requestIdCallback}) → void
sendTextMessage({required int conversationType, required String targetId, String channelId = '', required String text, required RSIMSendMessageCallback callback, RSIMMessageSavedCallback? savedCallback}) → void
sendTypingStatus({required RSIMConversationIdentifier conversation, required String objectName, required RSIMResultCallback<void> callback}) → void
sendUltraGroupTypingStatus(String targetId, String channelId, {int status = RSIMUltraGroupTypingStatus.text, required RSIMUltraGroupOperationCallback callback}) → void
setChatroomKvChangedListener(RSIMChatroomKvChangedListener? listener) → RSIMResult<void>
setChatroomKvDeleteListener(RSIMChatroomKvDeleteListener? listener) → RSIMResult<void>
setChatroomKvs(String roomId, List<RSIMChatroomKvInfo> values, {bool autoDelete = false, bool force = false, bool sendNotification = false, String notificationExtra = '', required RSIMChatroomKvCallback callback}) → void
setChatroomKvSyncListener(RSIMChatroomKvSyncListener? listener) → RSIMResult<void>
setChatroomMemberBannedListener(RSIMChatroomMemberBannedListener? listener) → RSIMResult<void>
setChatroomMemberBlockedListener(RSIMChatroomMemberBlockedListener? listener) → RSIMResult<void>
setChatroomMemberChangedListener(RSIMChatroomMemberChangedListener? listener) → RSIMResult<void>
setChatroomMultiClientSyncListener(RSIMChatroomMultiClientSyncListener? listener) → RSIMResult<void>
setChatroomStatusListener(RSIMChatroomStatusListener? listener) → RSIMResult<void>
setConnectionStatusListener(RSIMConnectionStatusListener? listener) → RSIMResult<void>
setConversationAttributes(RSIMConversationIdentifier conversation, Map<String, String> attributes, {required RSIMResultCallback<void> callback}) → void
setConversationStatusListener(RSIMConversationStatusListener? listener) → RSIMResult<void>
setConversationStatusSyncListener(RSIMConversationSyncListener? listener) → RSIMResult<void>
setConversationSyncListener(RSIMConversationSyncListener? listener) → RSIMResult<void>
setConversationTagListener(RSIMConversationTagListener? listener) → RSIMResult<void>
setConversationToTopInTag(String tagId, RSIMConversationIdentifier conversation, bool isTop, {required RSIMTagOperationCallback callback}) → void
setConversationTranslateStrategy(List<RSIMConversationIdentifier> conversationIdentifiers, RSIMTranslateStrategy strategy, {required RSIMTranslateOperationCallback callback}) → void
setConversationTypeMuteLevel(int conversationType, int muteLevel, {required RSIMResultCallback<void> callback}) → void
setDatabaseOperationFailedListener(RSIMDatabaseErrorListener? listener) → RSIMResult<void>
setDatabaseStatusListener(RSIMDatabaseStatusListener? listener) → RSIMResult<void>
setDeviceId(String deviceId) → RSIMResult<void>
setExpireMessageDeletedListener(RSIMMessageListListener? listener) → RSIMResult<void>
setFriendAddListener(RSIMFriendAddListener? listener) → RSIMResult<void>
setFriendAddPermission(int permission, {required RSIMFriendOperationCallback callback}) → void
setFriendClearListener(RSIMFriendClearListener? listener) → RSIMResult<void>
setFriendDeleteListener(RSIMFriendDeleteListener? listener) → RSIMResult<void>
setFriendInfo(String userId, {String remark = '', List<RSIMCommonKv> extra = const <RSIMCommonKv>[], required RSIMResultCallback<List<String>> callback}) → void
setFriendInfoChangedListener(RSIMFriendInfoChangedListener? listener) → RSIMResult<void>
setFriendRequestStatusChangedListener(RSIMFriendRequestStatusListener? listener) → RSIMResult<void>
setHostResolveListener(RSIMHostResolveListener? listener) → RSIMResult<void>
setLogFilter(int level) → RSIMResult<void>
setLogListener(RSIMLogListener? listener) → RSIMResult<void>
setMessageBlockedListener(RSIMMessageBlockedListener? listener) → RSIMResult<void>
setMessageContent(int messageId, {String? content, String? objectName, String? searchableWords, required RSIMResultCallback<void> callback}) → void
setMessageDestructingListener(RSIMMessageDestructingListener? listener) → RSIMResult<void>
setMessageDestructionStopListener(RSIMMessageDestructionStopListener? listener) → RSIMResult<void>
setMessageExpansionRemoveListener(RSIMMessageExpansionRemoveListener? listener) → RSIMResult<void>
setMessageExpansionUpdateListener(RSIMMessageExpansionUpdateListener? listener) → RSIMResult<void>
setMessageExtra(int messageId, String extra, {required RSIMResultCallback<void> callback}) → void
setMessageModifiedListener(RSIMMessageModifiedListener? listener) → RSIMResult<void>
setMessageModifiedSyncListener(RSIMMessageModifiedSyncListener? listener) → RSIMResult<void>
setMessageReactionListener(RSIMMessageReactionListener? listener) → RSIMResult<void>
setMessageRecalledListener(RSIMMessageRecalledListener? listener) → RSIMResult<void>
setMessageReceivedListener(RSIMMessageReceivedListener? listener) → RSIMResult<void>
setMessageReceivedStatus(int messageId, RSIMReceivedStatus status, {required RSIMResultCallback<void> callback}) → void
setMessageSearchableWordsCallbackListener(RSIMMessageSearchableWordsListener? listener) → RSIMResult<void>
setMessageSentStatus(int messageId, int status, {required RSIMResultCallback<void> callback}) → void
setNaviDataLoadSuccessListener(RSIMSimpleEngineListener? listener) → RSIMResult<void>
setNoDisturbing(String startTime, int durationMin, int muteLevel, String? timezone, {required RSIMResultCallback<void> callback}) → void
setNotifyRemoteUserProfilesListener(RSIMNotifyRemoteUserProfilesListener? listener) → RSIMResult<void>
setOfflineMessageSyncCompletedListener(RSIMSimpleEngineListener? listener) → RSIMResult<void>
setOnBeforeUploadMediaMessageListener(RSIMMessageInterceptListener? listener) → RSIMResult<void>
setOnDeviceOnlineStatusChangeListener(RSIMDeviceOnlineStatusChangeListener? listener) → RSIMResult<void>
setOnGroupFavoriteMemberChangedListener(RSIMGroupFavoriteMemberChangedListener? listener) → RSIMResult<void>
setOnGroupInfoChangedListener(RSIMGroupInfoChangedListener? listener) → RSIMResult<void>
setOnGroupMemberInfoChangedListener(RSIMGroupMemberInfoChangedListener? listener) → RSIMResult<void>
setOnGroupMuteWhitelistChangedListener(RSIMGroupMuteWhitelistChangedListener? listener) → RSIMResult<void>
setOnGroupOperationChangedListener(RSIMGroupOperationChangedListener? listener) → RSIMResult<void>
setOnGroupRemarkChangedListener(RSIMGroupRemarkChangedListener? listener) → RSIMResult<void>
setOnGroupRequestChangedListener(RSIMGroupRequestChangedListener? listener) → RSIMResult<void>
setOnReceiveMessageBeforeStorageListener(RSIMMessageInterceptListener? listener) → RSIMResult<void>
setOnSendMessageAfterStorageListener(RSIMMessageInterceptListener? listener) → RSIMResult<void>
setPushContentShowStatus(bool showStatus, {required RSIMUserSettingOperationCallback callback}) → void
setPushLanguageCode(String language, {required RSIMUserSettingOperationCallback callback}) → void
setPushReceiveStatus(bool receiveStatus, {required RSIMUserSettingOperationCallback callback}) → void
setPushToken(List<RSIMPushTokenInfo> tokens, {required RSIMResultCallback<void> callback}) → void
setReadReceiptReceivedListener(RSIMReadReceiptReceivedListener? listener) → RSIMResult<void>
setReadReceiptRequestListener(RSIMReadReceiptRequestListener? listener) → RSIMResult<void>
setReadReceiptResponseListener(RSIMReadReceiptResponseListener? listener) → RSIMResult<void>
setReadReceiptResponseV2Listener(RSIMReadReceiptResponseV2Listener? listener) → RSIMResult<void>
setReadReceiptV5Listener(RSIMReadReceiptV5Listener? listener) → RSIMResult<void>
setReadTimestamp(int conversationType, String targetId, String? channelId, int timestamp, {required RSIMResultCallback<void> callback}) → void
setReconnectKickPolicy(bool isReconnectKickEnabled) → RSIMResult<void>
setRobotSyncListener(RSIMRobotSyncListener? listener) → RSIMResult<void>
setRtcHeartbeatSendListener(RSIMRtcHeartbeatSendListener? listener) → RSIMResult<void>
setRtcHeartbeatSendResultListener(RSIMRtcHeartbeatSendResultListener? listener) → RSIMResult<void>
setRtcKvSignalingListener(RSIMRtcKvSignalingListener? listener) → RSIMResult<void>
setRtcMeetingEventListener(RSIMRtcMeetingEventListener? listener) → RSIMResult<void>
setRtcRoomEventListener(RSIMRtcRoomEventListener? listener) → RSIMResult<void>
setSpeechToTextListener(RSIMSpeechToTextListener? listener) → RSIMResult<void>
setSpeechToTextVisibleById(int messageId, bool isVisible, {required RSIMMessageOperationCallback callback}) → void
setStreamMessageRequestEventListener(RSIMStreamMessageRequestEventListener? listener) → RSIMResult<void>
setSubscribeChangedOnOtherDevicesListener(RSIMSubscribeInfoEventListener? listener) → RSIMResult<void>
setSubscribeEventChangeListener(RSIMSubscribeInfoEventListener? listener) → RSIMResult<void>
setSubscribeSyncCompletedListener(RSIMSubscribeSyncCompletedListener? listener) → RSIMResult<void>
setSyncConversationReadStatusListener(RSIMConversationReadStatusListener? listener) → RSIMResult<void>
setTagListener(RSIMTagListener? listener) → RSIMResult<void>
setTranslateAutomaticEnable(bool isEnable, {required RSIMTranslateOperationCallback callback}) → void
setTranslateAutomaticEnableChangedListener(RSIMTranslateAutomaticEnableChangedListener? listener) → RSIMResult<void>
setTranslateLanguage(String language, {required RSIMTranslateOperationCallback callback}) → void
setTranslateLanguageChangedListener(RSIMTranslateLanguageChangedListener? listener) → RSIMResult<void>
setTranslateResultListener(RSIMTranslateResultListener? listener) → RSIMResult<void>
setTypingStatusInterval(int intervalMs, {required RSIMResultCallback<void> callback}) → void
setTypingStatusListener(RSIMTypingStatusListener? listener) → RSIMResult<void>
setUltraGroupChannelDidDisbandedListener(void listener(List<RSIMUltraGroupChannelChange>)?) → RSIMResult<void>
setUltraGroupChannelTypeDidChangedListener(void listener(List<RSIMUltraGroupChannelChange>)?) → RSIMResult<void>
setUltraGroupChannelUserDidKickedListener(void listener(List<RSIMUltraGroupChannelChange>)?) → RSIMResult<void>
setUltraGroupConversationChannelDefaultNotificationLevel(String targetId, String channelId, int level, {required RSIMUltraGroupOperationCallback callback}) → void
setUltraGroupConversationDefaultNotificationLevel(String targetId, int level, {required RSIMUltraGroupOperationCallback callback}) → void
setUltraGroupConversationListener(void listener()?) → RSIMResult<void>
setUltraGroupMessageExpansionUpdatedListener(void listener(List<RSIMMessage>)?) → RSIMResult<void>
setUltraGroupMessageModifiedListener(void listener(List<RSIMMessage>)?) → RSIMResult<void>
setUltraGroupMessageRecalledListener(void listener(List<RSIMMessage>)?) → RSIMResult<void>
setUltraGroupReadTimeListener(void listener(RSIMUltraGroupReadTimeEvent)?) → RSIMResult<void>
setUltraGroupTypingStatusListener(void listener(List<RSIMUltraGroupTypingStatusInfo>)?) → RSIMResult<void>
setUltraGroupUserGroupBindListener(void listener(RSIMUltraGroupUserGroupEvent)?) → RSIMResult<void>
setUltraGroupUserGroupDisbandListener(void listener(RSIMUltraGroupUserGroupEvent)?) → RSIMResult<void>
setUltraGroupUserGroupUnbindListener(void listener(RSIMUltraGroupUserGroupEvent)?) → RSIMResult<void>
setUltraGroupUserGroupUserAddedListener(void listener(RSIMUltraGroupUserGroupEvent)?) → RSIMResult<void>
setUltraGroupUserGroupUserRemoveListener(void listener(RSIMUltraGroupUserGroupEvent)?) → RSIMResult<void>
setUserSettingSyncListener(RSIMUserSettingSyncListener? listener) → RSIMResult<void>
setVoipToken(String token, {required RSIMResultCallback<void> callback}) → void
subscribeEvent(RSIMSubscribeEventRequest request, {required RSIMSubscribeCallback callback}) → void
syncConversationReadStatus(int conversationType, String targetId, String? channelId, int sendTime, {required RSIMResultCallback<void> callback}) → void
syncRemoteConversations({required RSIMResultCallback<void> callback}) → void
toString() → String
A string representation of this object.
inherited
translateMessage(RSIMTranslateMessageParams params, {required RSIMTranslateOperationCallback callback}) → void
translateText(RSIMTranslateTextParams params, {required RSIMTranslateOperationCallback callback}) → void
unsetNoDisturbing({required RSIMResultCallback<void> callback}) → void
unsubscribeEvent(RSIMSubscribeEventRequest request, {required RSIMSubscribeCallback callback}) → void
updateMessageExpansion(List<RSIMMessageExpansionKvInfo> kvs, String messageUid, {required RSIMResultCallback<void> callback}) → void
updateMessageReceiptStatus(RSIMConversationIdentifier conversation, int timestamp, {required RSIMResultCallback<void> callback}) → void
updateMyUserProfile(RSIMUserProfile profile, {required RSIMUpdateMyUserProfileCallback callback}) → void
updateMyUserProfileVisibility(int visibility, {required RSIMUpdateMyUserProfileVisibilityCallback callback}) → void
updateTag(RSIMTagInfo tagInfo, {required RSIMTagOperationCallback callback}) → void
updateUltraGroupMessageExpansion(String messageUid, List<RSIMCommonKvInfo> values, {required RSIMUltraGroupOperationCallback callback}) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited