RCIMIWEngine class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
onBatchRemoteUltraGroupMessagesLoaded
↔ dynamic Function(int? code, List<RCIMIWMessage>? matchedMessages, List<RCIMIWMessage>? notMatchedMessages)?
-
loadBatchRemoteUltraGroupMessages 的接口监听
getter/setter pair
-
onBlacklistAdded
↔ dynamic Function(int? code, String? userId)?
-
addToBlacklist 的接口监听
getter/setter pair
-
onBlacklistLoaded
↔ dynamic Function(int? code, List<String>? userIds)?
-
loadBlacklist 的接口监听
getter/setter pair
-
onBlacklistRemoved
↔ dynamic Function(int? code, String? userId)?
-
removeFromBlacklist 的接口监听
getter/setter pair
-
onBlacklistStatusLoaded
↔ dynamic Function(int? code, String? userId, RCIMIWBlacklistStatus? status)?
-
loadBlacklistStatus 的接口监听
getter/setter pair
-
onBlockedConversationsLoaded
↔ dynamic Function(int? code, List<RCIMIWConversationType>? conversationTypes, String? channelId, List<RCIMIWConversation>? conversations)?
-
loadBlockedConversations 的接口监听
getter/setter pair
-
onChatRoomAllEntriesLoaded
↔ dynamic Function(int? code, String? targetId, Map? entries)?
-
loadChatRoomAllEntries 的接口监听
getter/setter pair
-
onChatRoomEntriesAdded
↔ dynamic Function(int? code, String? targetId, Map? entries, Map? errorEntries)?
-
addChatRoomEntries 的接口监听
getter/setter pair
-
onChatRoomEntriesChanged
↔ dynamic Function(RCIMIWChatRoomEntriesOperationType? operationType, String? roomId, Map? entries)?
-
聊天室 KV 发生变化的回调
getter/setter pair
-
onChatRoomEntriesRemoved
↔ dynamic Function(int? code, String? targetId, List<String>? keys)?
-
removeChatRoomEntries 的接口监听
getter/setter pair
-
onChatRoomEntriesSynced
↔ dynamic Function(String? roomId)?
-
聊天室 KV 同步完成的回调
getter/setter pair
-
onChatRoomEntryAdded
↔ dynamic Function(int? code, String? targetId, String? key)?
-
addChatRoomEntry 的接口监听
getter/setter pair
-
onChatRoomEntryLoaded
↔ dynamic Function(int? code, String? targetId, Map? entry)?
-
loadChatRoomEntry 的接口监听
getter/setter pair
-
onChatRoomEntryRemoved
↔ dynamic Function(int? code, String? targetId, String? key)?
-
removeChatRoomEntry 的接口监听
getter/setter pair
-
onChatRoomJoined
↔ dynamic Function(int? code, String? targetId)?
-
joinChatRoom 的接口监听
getter/setter pair
-
onChatRoomJoining
↔ dynamic Function(String? targetId)?
-
正在加入聊天室的回调
getter/setter pair
-
onChatRoomLeft
↔ dynamic Function(int? code, String? targetId)?
-
leaveChatRoom 的接口监听
getter/setter pair
-
onChatRoomMemberChanged
↔ dynamic Function(String? targetId, List<RCIMIWChatRoomMemberAction>? actions)?
-
聊天室用户进入、退出聊天室监听
getter/setter pair
-
onChatRoomMessagesLoaded
↔ dynamic Function(int? code, String? targetId, List<RCIMIWMessage>? messages, int? syncTime)?
-
loadChatRoomMessages 的接口监听
getter/setter pair
-
onChatRoomStatusChanged
↔ dynamic Function(String? targetId, RCIMIWChatRoomStatus? status)?
-
聊天室状态发生变化的监听
getter/setter pair
-
onConnected
↔ dynamic Function(int? code, String? userId)?
-
connect 的接口监听,收到链接结果的回调
getter/setter pair
-
onConnectionStatusChanged
↔ dynamic Function(RCIMIWConnectionStatus? status)?
-
网络状态变化
getter/setter pair
-
onConversationLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, RCIMIWConversation? conversation)?
-
loadConversation 的接口监听
getter/setter pair
-
onConversationNotificationLevelChanged
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, RCIMIWPushNotificationLevel? level)?
-
changeConversationNotificationLevel 的接口回调
getter/setter pair
-
onConversationNotificationLevelLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, RCIMIWPushNotificationLevel? level)?
-
loadConversationNotificationLevel 的接口回调
getter/setter pair
-
onConversationNotificationLevelSynced
↔ dynamic Function(RCIMIWConversationType? type, String? targetId, String? channelId, RCIMIWPushNotificationLevel? level)?
-
会话状态免打扰多端同步监听
getter/setter pair
-
onConversationReadStatusSynced
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? timestamp)?
-
syncConversationReadStatus 的接口监听
getter/setter pair
-
onConversationReadStatusSyncMessageReceived
↔ dynamic Function(RCIMIWConversationType? type, String? targetId, int? timestamp)?
-
同步消息未读状态监听接口。多端登录,收到其它端清除某一会话未读数通知的时候
getter/setter pair
-
onConversationRemoved
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId)?
-
removeConversation 的接口监听
getter/setter pair
-
onConversationsLoaded
↔ dynamic Function(int? code, List<RCIMIWConversationType>? conversationTypes, String? channelId, int? startTime, int? count, List<RCIMIWConversation>? conversations)?
-
loadConversations 的接口监听
getter/setter pair
-
onConversationsLoadedForAllChannel
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, List<RCIMIWConversation>? conversations)?
-
loadConversationsForAllChannel 的接口监听
getter/setter pair
-
onConversationsRemoved
↔ dynamic Function(int? code, List<RCIMIWConversationType>? conversationTypes, String? channelId)?
-
removeConversations 的接口监听
getter/setter pair
-
onConversationsSearched
↔ dynamic Function(int? code, List<RCIMIWConversationType>? conversationTypes, String? channelId, List<RCIMIWMessageType>? messageTypes, String? keyword, List<RCIMIWSearchConversationResult>? conversations)?
-
searchConversations 的接口监听
getter/setter pair
-
onConversationsUpdateForWeb
↔ dynamic Function(List<RCIMIWConversation> conversations)?
-
会话状态更新的回调
getter/setter pair
-
onConversationTopStatusChanged
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, bool? top)?
-
changeConversationTopStatus 的接口监听
getter/setter pair
-
onConversationTopStatusLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, bool? top)?
-
loadConversationTopStatus 的接口监听
getter/setter pair
-
onConversationTopStatusSynced
↔ dynamic Function(RCIMIWConversationType? type, String? targetId, String? channelId, bool? top)?
-
会话状态置顶多端同步监听
getter/setter pair
-
onConversationTypeNotificationLevelChanged
↔ dynamic Function(int? code, RCIMIWConversationType? type, RCIMIWPushNotificationLevel? level)?
-
changeConversationTypeNotificationLevel 的接口回调
getter/setter pair
-
onConversationTypeNotificationLevelLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, RCIMIWPushNotificationLevel? level)?
-
loadConversationTypeNotificationLevel 的接口回调
getter/setter pair
-
onDatabaseOpened
↔ dynamic Function(int? code)?
-
connect 的接口监听,数据库打开时发生的回调
getter/setter pair
-
onDownloadingMediaMessageCanceled
↔ dynamic Function(int? code, RCIMIWMediaMessage? message)?
-
cancelDownloadingMediaMessage 的接口监听
getter/setter pair
-
onDraftMessageCleared
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId)?
-
clearDraftMessage 的接口监听
getter/setter pair
-
onDraftMessageLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, String? draft)?
-
loadDraftMessage 的接口监听
getter/setter pair
-
onDraftMessageSaved
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, String? draft)?
-
saveDraftMessage 的接口监听
getter/setter pair
-
onFirstUnreadMessageLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, RCIMIWMessage? message)?
-
loadFirstUnreadMessage 的接口监听
getter/setter pair
-
onGroupMessageReadReceiptRequestReceived
↔ dynamic Function(String? targetId, String? messageUId)?
-
收到群聊已读回执请求的监听
getter/setter pair
-
onGroupMessageReadReceiptResponseReceived
↔ dynamic Function(String? targetId, String? messageUId, Map? respondUserIds)?
-
收到群聊已读回执响应的监听
getter/setter pair
-
onGroupMessageToDesignatedUsersAttached
↔ dynamic Function(RCIMIWMessage? message)?
-
sendGroupMessageToDesignatedUsers 的接口回调
消息存入数据库的回调
getter/setter pair
-
sendGroupMessageToDesignatedUsers 的接口回调
消息发送完成的回调
getter/setter pair
-
onGroupReadReceiptRequestSent
↔ dynamic Function(int? code, RCIMIWMessage? message)?
-
sendGroupReadReceiptRequest 的接口监听
getter/setter pair
-
onGroupReadReceiptResponseSent
↔ dynamic Function(int? code, String? targetId, String? channelId, List<RCIMIWMessage>? messages)?
-
sendGroupReadReceiptResponse 的接口监听
getter/setter pair
-
onLocalMessagesDeleted
↔ dynamic Function(int? code, List<RCIMIWMessage>? messages)?
-
deleteLocalMessages 的接口监听
getter/setter pair
-
onMediaMessageAttached
↔ dynamic Function(RCIMIWMediaMessage? message)?
-
sendMediaMessage 的接口监听
getter/setter pair
-
onMediaMessageDownloaded
↔ dynamic Function(int? code, RCIMIWMediaMessage? message)?
-
downloadMediaMessage 的接口监听
getter/setter pair
-
onMediaMessageDownloading
↔ dynamic Function(RCIMIWMediaMessage? message, int? progress)?
-
downloadMediaMessage 的接口监听
getter/setter pair
-
onMediaMessageSending
↔ dynamic Function(RCIMIWMediaMessage? message, int? progress)?
-
sendMediaMessage 的接口监听
getter/setter pair
-
onMediaMessageSent
↔ dynamic Function(int? code, RCIMIWMediaMessage? message)?
-
sendMediaMessage 的接口监听
getter/setter pair
-
onMessageAttached
↔ dynamic Function(RCIMIWMessage? message)?
-
sendMessage 的接口监听
getter/setter pair
-
onMessageBlocked
↔ dynamic Function(RCIMIWBlockedMessageInfo? info)?
-
发送含有敏感词消息被拦截的回调
getter/setter pair
-
onMessageCountLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? count)?
-
loadMessageCount 的接口监听
getter/setter pair
-
onMessageExpansionForKeysRemoved
↔ dynamic Function(int? code, String? messageUId, List<String>? keys)?
-
removeMessageExpansionForKeys 的接口监听
getter/setter pair
-
onMessageExpansionUpdated
↔ dynamic Function(int? code, String? messageUId, Map? expansion)?
-
updateMessageExpansion 的接口监听
getter/setter pair
-
onMessageInserted
↔ dynamic Function(int? code, RCIMIWMessage? message)?
-
insertMessage 的接口监听
getter/setter pair
-
onMessageRecalled
↔ dynamic Function(int? code, RCIMIWMessage? message)?
-
recallMessage 的接口监听
getter/setter pair
-
onMessageReceived
↔ dynamic Function(RCIMIWMessage? message, int? left, bool? offline, bool? hasPackage)?
-
收到消息的监听
getter/setter pair
-
onMessageReceiveStatusChanged
↔ dynamic Function(int? code, int? messageId)?
-
changeMessageReceiveStatus 的接口监听
getter/setter pair
-
onMessagesCleared
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? timestamp)?
-
clearMessages 的接口监听
getter/setter pair
-
onMessagesDeleted
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, List<RCIMIWMessage>? messages)?
-
deleteMessages 的接口监听
getter/setter pair
-
onMessageSent
↔ dynamic Function(int? code, RCIMIWMessage? message)?
-
sendMessage 的接口监听
getter/setter pair
-
onMessageSentStatusChanged
↔ dynamic Function(int? code, int? messageId)?
-
changeMessageSentStatus 的接口监听
getter/setter pair
-
onMessagesInserted
↔ dynamic Function(int? code, List<RCIMIWMessage>? messages)?
-
insertMessages 的接口监听
getter/setter pair
-
onMessagesLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? sentTime, RCIMIWTimeOrder? order, List<RCIMIWMessage>? messages)?
-
loadMessages 的接口监听
getter/setter pair
-
onMessagesSearched
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, String? keyword, int? startTime, int? count, List<RCIMIWMessage>? messages)?
-
searchMessages 的接口监听
getter/setter pair
-
onMessagesSearchedByTimeRange
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, String? keyword, int? startTime, int? endTime, int? offset, int? count, List<RCIMIWMessage>? messages)?
-
searchMessagesByTimeRange 的接口监听
getter/setter pair
-
onMessagesSearchedByUserId
↔ dynamic Function(int? code, String? userId, RCIMIWConversationType? type, String? targetId, String? channelId, int? startTime, int? count, List<RCIMIWMessage>? messages)?
-
searchMessagesByUserId 的接口监听
getter/setter pair
-
onNotificationQuietHoursChanged
↔ dynamic Function(int? code, String? startTime, int? spanMinutes, RCIMIWPushNotificationQuietHoursLevel? level)?
-
changeNotificationQuietHours 的接口回调
getter/setter pair
-
onNotificationQuietHoursLoaded
↔ dynamic Function(int? code, String? startTime, int? spanMinutes, RCIMIWPushNotificationQuietHoursLevel? level)?
-
loadNotificationQuietHours 的接口回调
getter/setter pair
-
onNotificationQuietHoursRemoved
↔ dynamic Function(int? code)?
-
removeNotificationQuietHours 的接口回调
getter/setter pair
-
onPrivateReadReceiptMessageSent
↔ dynamic Function(int? code, String? targetId, String? channelId, int? timestamp)?
-
sendPrivateReadReceiptMessage 的接口监听
getter/setter pair
-
onPrivateReadReceiptReceived
↔ dynamic Function(String? targetId, String? channelId, int? timestamp)?
-
单聊中收到消息回执的回调。
getter/setter pair
-
onPushContentShowStatusChanged
↔ dynamic Function(int? code, bool? showContent)?
-
changePushContentShowStatus 的接口监听
getter/setter pair
-
onPushLanguageChanged
↔ dynamic Function(int? code, String? language)?
-
changePushLanguage 的接口监听
getter/setter pair
-
onPushReceiveStatusChanged
↔ dynamic Function(int? code, bool? receive)?
-
changePushReceiveStatus 的接口监听
getter/setter pair
-
onRemoteMessageExpansionForKeyRemoved
↔ dynamic Function(RCIMIWMessage? message, List<String>? keys)?
-
消息扩展信息删除的回调
getter/setter pair
-
onRemoteMessageExpansionForKeyRemovedForWeb
↔ dynamic Function(String? messageUId, List<String>? keys)?
-
消息扩展信息删除的回调
getter/setter pair
-
onRemoteMessageExpansionUpdated
↔ dynamic Function(Map? expansion, RCIMIWMessage? message)?
-
消息扩展信息更改的回调
getter/setter pair
-
onRemoteMessageExpansionUpdatedForWeb
↔ dynamic Function(Map? expansion, String? messageUId)?
-
消息扩展信息更改的回调 (web 端)
getter/setter pair
-
onRemoteMessageRecalled
↔ dynamic Function(RCIMIWMessage? message)?
-
撤回消息监听器
getter/setter pair
-
onRemoteUltraGroupMessageExpansionUpdated
↔ dynamic Function(List<RCIMIWMessage>? messages)?
-
超级群消息 kv 被更新
getter/setter pair
-
onRemoteUltraGroupMessageModified
↔ dynamic Function(List<RCIMIWMessage>? messages)?
-
超级群消息被更改
getter/setter pair
-
onRemoteUltraGroupMessageRecalled
↔ dynamic Function(List<RCIMIWMessage>? messages)?
-
超级群消息被撤回
getter/setter pair
-
onSendingMediaMessageCanceled
↔ dynamic Function(int? code, RCIMIWMediaMessage? message)?
-
cancelSendingMediaMessage 的接口监听
getter/setter pair
-
onTopConversationsLoaded
↔ dynamic Function(int? code, List<RCIMIWConversationType>? conversationTypes, String? channelId, List<RCIMIWConversation>? conversations)?
-
code
接口回调的状态码,0 代表成功,非 0 代表出现异常
conversationTypes
会话类型集合
channelId
频道 ID,仅支持超级群使用,其他会话类型传 null 即可。
conversations
加载的会话集合
getter/setter pair
-
onTotalUnreadCountLoaded
↔ dynamic Function(int? code, String? channelId, int? count)?
-
loadTotalUnreadCount 的接口监听
getter/setter pair
-
onTypingStatusChanged
↔ dynamic Function(RCIMIWConversationType? type, String? targetId, String? channelId, List<RCIMIWTypingStatus>? userTypingStatus)?
-
会话输入状态发生变化。对于单聊而言,当对方正在输入时,监听会触发一次;当对方不处于输入状态时,该监听还会触发一次,但回调里输入用户列表为空。
getter/setter pair
-
onUltraGroupAllUnreadCountLoaded
↔ dynamic Function(int? code, int? count)?
-
loadUltraGroupAllUnreadMentionedCount 的接口监听
getter/setter pair
-
onUltraGroupAllUnreadMentionedCountLoaded
↔ dynamic Function(int? code, int? count)?
-
loadUltraGroupAllUnreadMentionedCount 的接口监听
getter/setter pair
-
onUltraGroupChannelDefaultNotificationLevelChanged
↔ dynamic Function(int? code, String? targetId, String? channelId, RCIMIWPushNotificationLevel? level)?
-
changeUltraGroupChannelDefaultNotificationLevel 的接口回调
getter/setter pair
-
onUltraGroupChannelDefaultNotificationLevelLoaded
↔ dynamic Function(int? code, String? targetId, String? channelId, RCIMIWPushNotificationLevel? level)?
-
loadUltraGroupChannelDefaultNotificationLevel 的接口回调
getter/setter pair
-
onUltraGroupConversationsSynced
↔ dynamic Function()?
-
超级群列表同步完成的回调
getter/setter pair
-
onUltraGroupDefaultNotificationLevelChanged
↔ dynamic Function(int? code, String? targetId, RCIMIWPushNotificationLevel? level)?
-
changeUltraGroupDefaultNotificationLevel 的接口回调
getter/setter pair
-
onUltraGroupDefaultNotificationLevelLoaded
↔ dynamic Function(int? code, String? targetId, RCIMIWPushNotificationLevel? level)?
-
loadUltraGroupDefaultNotificationLevel 的接口回调
getter/setter pair
-
onUltraGroupMessageExpansionForKeysRemoved
↔ dynamic Function(int? code, String? messageUId, List<String>? keys)?
-
removeUltraGroupMessageExpansionForKeys 的接口监听
getter/setter pair
-
onUltraGroupMessageExpansionUpdated
↔ dynamic Function(int? code, Map? expansion, String? messageUId)?
-
updateUltraGroupMessageExpansion 的接口监听
getter/setter pair
-
onUltraGroupMessageModified
↔ dynamic Function(int? code, String? messageUId)?
-
modifyUltraGroupMessage 的接口监听
getter/setter pair
-
onUltraGroupMessageRecalled
↔ dynamic Function(int? code, RCIMIWMessage? message, bool? deleteRemote)?
-
recallUltraGroupMessage 的接口监听
getter/setter pair
-
onUltraGroupMessagesCleared
↔ dynamic Function(int? code, String? targetId, String? channelId, int? timestamp, RCIMIWMessageOperationPolicy? policy)?
-
clearUltraGroupMessages 的接口监听
getter/setter pair
-
onUltraGroupMessagesClearedForAllChannel
↔ dynamic Function(int? code, String? targetId, int? timestamp)?
-
clearUltraGroupMessagesForAllChannel 的接口监听
getter/setter pair
-
onUltraGroupReadStatusSynced
↔ dynamic Function(int? code, String? targetId, String? channelId, int? timestamp)?
-
syncUltraGroupReadStatus 的接口监听
getter/setter pair
-
onUltraGroupReadTimeReceived
↔ dynamic Function(String? targetId, String? channelId, int? timestamp)?
-
超级群已读的监听
getter/setter pair
-
onUltraGroupTypingStatusChanged
↔ dynamic Function(List<RCIMIWUltraGroupTypingStatusInfo>? info)?
-
用户输入状态变化的回调
当客户端收到用户输入状态的变化时,会回调此接口,通知发生变化的会话以及当前正在输入的RCUltraGroupTypingStatusInfo列表
getter/setter pair
-
onUltraGroupTypingStatusSent
↔ dynamic Function(int? code, String? targetId, String? channelId, RCIMIWUltraGroupTypingStatus? typingStatus)?
-
sendUltraGroupTypingStatus 的接口监听
getter/setter pair
-
onUltraGroupUnreadCountLoaded
↔ dynamic Function(int? code, String? targetId, int? count)?
-
getter/setter pair
-
onUltraGroupUnreadMentionedCountLoaded
↔ dynamic Function(int? code, String? targetId, int? count)?
-
loadUltraGroupUnreadMentionedCount 的接口监听
getter/setter pair
-
onUnreadCountByConversationTypesLoaded
↔ dynamic Function(int? code, List<RCIMIWConversationType>? conversationTypes, String? channelId, bool? contain, int? count)?
-
loadUnreadCountByConversationTypes 的接口监听
getter/setter pair
-
onUnreadCountCleared
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? timestamp)?
-
clearUnreadCount 的接口监听
getter/setter pair
-
onUnreadCountLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? count)?
-
loadUnreadCount 的接口监听
getter/setter pair
-
onUnreadMentionedCountLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, int? count)?
-
loadUnreadMentionedCount 的接口监听
getter/setter pair
-
onUnreadMentionedMessagesLoaded
↔ dynamic Function(int? code, RCIMIWConversationType? type, String? targetId, String? channelId, List<RCIMIWMessage>? messages)?
-
loadUnreadMentionedMessages 的接口监听
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addChatRoomEntries(String targetId, Map entries, bool deleteWhenLeft, bool overwrite, {IRCIMIWAddChatRoomEntriesCallback? callback})
→ Future<int>
-
批量设置聊天室自定义属性
-
addChatRoomEntry(String targetId, String key, String value, bool deleteWhenLeft, bool overwrite, {IRCIMIWAddChatRoomEntryCallback? callback})
→ Future<int>
-
设置聊天室自定义属性。
-
addConversationToTag(String tagId, RCIMIWConversationType type, String targetId, {IRCIMIWAddConversationToTagCallback? callback})
→ Future<int>
-
将一个会话添加到指定标签
-
addToBlacklist(String userId, {IRCIMIWAddToBlacklistCallback? callback})
→ Future<int>
-
将某个用户加入黑名单。
当你把对方加入黑名单后,对方再发消息时,就会提示“已被加入黑名单,消息发送失败”。 但你依然可以发消息个对方。
-
cancelDownloadingMediaMessage(RCIMIWMediaMessage message, {IRCIMIWCancelDownloadingMediaMessageCallback? callback})
→ Future<int>
-
取消下载媒体消息
-
cancelSendingMediaMessage(RCIMIWMediaMessage message, {IRCIMIWCancelSendingMediaMessageCallback? callback})
→ Future<int>
-
取消发送媒体消息
-
changeConversationNotificationLevel(RCIMIWConversationType type, String targetId, String? channelId, RCIMIWPushNotificationLevel level, {IRCIMIWChangeConversationNotificationLevelCallback? callback})
→ Future<int>
-
设置会话的消息提醒状态
注:超级群调用该接口,channelId 为空时,相当于设置了 channelId 为空的频道的免打扰,不会屏蔽整个超级群会话下所有频道的免打扰
-
changeConversationTopStatus(RCIMIWConversationType type, String targetId, String? channelId, bool top, {IRCIMIWChangeConversationTopStatusCallback? callback})
→ Future<int>
-
设置会话的置顶状态。若会话不存在,调用此方法 SDK 自动创建会话并置顶。
-
changeConversationTopStatusInTag(String tagId, RCIMIWConversationType type, String targetId, bool top, {IRCIMIWChangeConversationTopStatusInTagCallback? callback})
→ Future<int>
-
在携带指定标签的所有会话中设置指定会话置顶。例如,在所有添加了「培训班」标签的会话中将与「Tom」的私聊会话置顶。
-
changeConversationTypeNotificationLevel(RCIMIWConversationType type, RCIMIWPushNotificationLevel level, {IRCIMIWChangeConversationTypeNotificationLevelCallback? callback})
→ Future<int>
-
设置会话类型的消息提醒状态
注:如要移除消息提醒状态,设置level为RCIMIWPushNotificationLevelDefault
-
changeLogLevel(RCIMIWLogLevel level)
→ Future<int>
-
修改日志等级
-
changeMessageReceiveStatus(int messageId, RCIMIWReceivedStatus receivedStatus, {IRCIMIWChangeMessageReceivedStatusCallback? callback})
→ Future<int>
-
设置消息接收状态。
-
changeMessageSentStatus(int messageId, RCIMIWSentStatus sentStatus, {IRCIMIWChangeMessageSentStatusCallback? callback})
→ Future<int>
-
设置消息发送状态。
-
changeNotificationQuietHours(String startTime, int spanMinutes, RCIMIWPushNotificationQuietHoursLevel level, {IRCIMIWChangeNotificationQuietHoursCallback? callback})
→ Future<int>
-
屏蔽某个时间段的消息提醒
-
changePushContentShowStatus(bool showContent, {IRCIMIWChangePushContentShowStatusCallback? callback})
→ Future<int>
-
设置是否显示远程推送内容详情,此功能需要从服务端开启用户设置功能。
-
changePushLanguage(String language, {IRCIMIWChangePushLanguageCallback? callback})
→ Future<int>
-
设置推送语言
-
changePushReceiveStatus(bool receive, {IRCIMIWChangePushReceiveStatusCallback? callback})
→ Future<int>
-
设置是否接收远程推送。
前提:移动端未在线,Web 、MAC/PC 终端在线,移动端是否接收远程推送。
此功能需要从服务端开启用户设置功能。
-
changeUltraGroupChannelDefaultNotificationLevel(String targetId, String? channelId, RCIMIWPushNotificationLevel level, {IRCIMIWChangeUltraGroupChannelDefaultNotificationLevelCallback? callback})
→ Future<int>
-
设置超级群频道的默认消息状态
-
changeUltraGroupDefaultNotificationLevel(String targetId, RCIMIWPushNotificationLevel level, {IRCIMIWChangeUltraGroupDefaultNotificationLevelCallback? callback})
→ Future<int>
-
设置超级群的默认消息状态
一般由管理员设置的接口,针对超级群的所有群成员生效,针对超级群下所有频道生效,优先级较低。如果群成员自己超级群的免打扰级别,那么以群成员自己设置的为准。
-
clearConversationsByTag(String tagId, bool deleteMessage, {IRCIMIWClearConversationsByTagCallback? callback})
→ Future<int>
-
删除指定标签下的全部会话,同时解除这些会话和标签的绑定关系。删除成功后,会话不再携带指定的标签。这些会话收到新消息时,会产生新的会话。
-
clearDraftMessage(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWClearDraftMessageCallback? callback})
→ Future<int>
-
删除指定会话中的草稿信息。
-
clearMessages(RCIMIWConversationType type, String targetId, String? channelId, int timestamp, RCIMIWMessageOperationPolicy policy, {IRCIMIWClearMessagesCallback? callback})
→ Future<int>
-
清除消息
-
clearMessagesUnreadStatusByTag(String tagId, {IRCIMIWClearMessagesUnreadStatusByTagCallback? callback})
→ Future<int>
-
清除携带指定标签的所有会话的未读消息数。
-
clearUltraGroupMessages(String targetId, String? channelId, int timestamp, RCIMIWMessageOperationPolicy policy, {IRCIMIWClearUltraGroupMessagesCallback? callback})
→ Future<int>
-
删除超级群指定时间之前的消息
-
clearUltraGroupMessagesForAllChannel(String targetId, int timestamp, {IRCIMIWClearUltraGroupMessagesForAllChannelCallback? callback})
→ Future<int>
-
删除超级群所有频道指定时间之前的消息
-
clearUnreadCount(RCIMIWConversationType type, String targetId, String? channelId, int timestamp, {IRCIMIWClearUnreadCountCallback? callback})
→ Future<int>
-
清除某个会话中的未读消息数。
注:不支持聊天室!
-
connect(String token, int timeout, {RCIMIWConnectCallback? callback})
→ Future<int>
-
连接融云服务器,在整个应用程序全局,只需要调用一次。调用此接口返回非业务错误码时,SDK 会启动重连机制进行重连;如果仍没有连接成功,会在设备网络状态变化时再次进行重连。
-
createCustomMessage(RCIMIWConversationType type, String targetId, String? channelId, RCIMIWCustomMessagePolicy policy, String messageIdentifier, Map fields)
→ Future<RCIMIWCustomMessage?>
-
构建自定义消息
-
createFileMessage(RCIMIWConversationType type, String targetId, String? channelId, String path)
→ Future<RCIMIWFileMessage?>
-
构建文件消息
-
createFileMessageForWeb(RCIMIWConversationType type, String targetId, String? channelId, dynamic file)
→ Future<RCIMIWFileMessage?>
-
构建文件消息
-
createGIFMessage(RCIMIWConversationType type, String targetId, String? channelId, String path)
→ Future<RCIMIWGIFMessage?>
-
构建 GIF 消息
-
createGIFMessageForWeb(RCIMIWConversationType type, String targetId, String? channelId, dynamic file)
→ Future<RCIMIWGIFMessage?>
-
构建 GIF 消息
-
createImageMessage(RCIMIWConversationType type, String targetId, String? channelId, String path)
→ Future<RCIMIWImageMessage?>
-
构建图片消息
-
createImageMessageForWeb(RCIMIWConversationType type, String targetId, String? channelId, dynamic file)
→ Future<RCIMIWImageMessage?>
-
构建图片消息,web 专用
-
createLocationMessage(RCIMIWConversationType type, String targetId, String? channelId, double longitude, double latitude, String poiName, String thumbnailPath)
→ Future<RCIMIWLocationMessage?>
-
构建位置消息
-
createLocationMessageForWeb(RCIMIWConversationType type, String targetId, String? channelId, double longitude, double latitude, String poiName, String thumbnailBase64)
→ Future<RCIMIWLocationMessage?>
-
构建位置消息
-
createReferenceMessage(RCIMIWConversationType type, String targetId, String? channelId, RCIMIWMessage referenceMessage, String text)
→ Future<RCIMIWReferenceMessage?>
-
构建引用消息
-
createSightMessage(RCIMIWConversationType type, String targetId, String? channelId, String path, int duration)
→ Future<RCIMIWSightMessage?>
-
构建小视频消息
-
createSightMessageForWeb(RCIMIWConversationType type, String targetId, String? channelId, dynamic file)
→ Future<RCIMIWSightMessage?>
-
构建小视频消息
-
createTag(String tagId, String tagName, {IRCIMIWCreateTagCallback? callback})
→ Future<int>
-
创建标签信息
-
createTextMessage(RCIMIWConversationType type, String targetId, String? channelId, String text)
→ Future<RCIMIWTextMessage?>
-
构建文本消息
-
createVoiceMessage(RCIMIWConversationType type, String targetId, String? channelId, String path, int duration)
→ Future<RCIMIWVoiceMessage?>
-
构建语音消息 (高清语音)
-
createVoiceMessageForWeb(RCIMIWConversationType type, String targetId, String? channelId, dynamic file)
→ Future<RCIMIWVoiceMessage?>
-
构建语音消息 (高清语音)
-
deleteLocalMessages(List<RCIMIWMessage> messages, {IRCIMIWDeleteLocalMessagesCallback? callback})
→ Future<int>
-
删除本地消息
-
deleteMessages(RCIMIWConversationType type, String targetId, String? channelId, List<RCIMIWMessage> messages, {IRCIMIWDeleteMessagesCallback? callback})
→ Future<int>
-
删除消息
-
destroy()
→ Future<void>
-
销毁引擎
-
disconnect(bool receivePush)
→ Future<int>
-
断开链接
注:因为 SDK 在前后台切换或者网络出现异常都会自动重连,保证连接可靠性。 所以除非您的 App 逻辑需要登出,否则一般不需要调用此方法进行手动断开
-
downloadMediaMessage(RCIMIWMediaMessage message, {RCIMIWDownloadMediaMessageListener? listener})
→ Future<int>
-
下载媒体消息
-
getBatchRemoteUltraGroupMessages(List<RCIMIWMessage> messages, {IRCIMIWGetBatchRemoteUltraGroupMessagesCallback? callback})
→ Future<int>
-
从服务获取批量消息
-
getBlacklist({IRCIMIWGetBlacklistCallback? callback})
→ Future<int>
-
获取当前用户设置的黑名单列表。
-
getBlacklistStatus(String userId, {IRCIMIWGetBlacklistStatusCallback? callback})
→ Future<int>
-
获取某用户是否在黑名单中。
-
getBlockedConversations(List<RCIMIWConversationType> conversationTypes, String? channelId, {IRCIMIWGetBlockedConversationsCallback? callback})
→ Future<int>
-
获取免打扰的会话列表。
-
getChatRoomAllEntries(String targetId, {IRCIMIWGetChatRoomAllEntriesCallback? callback})
→ Future<int>
-
获取聊天室所有属性。
-
getChatRoomEntry(String targetId, String key, {IRCIMIWGetChatRoomEntryCallback? callback})
→ Future<int>
-
获取聊天室单个属性。
-
getChatRoomMessages(String targetId, int timestamp, RCIMIWTimeOrder order, int count, {IRCIMIWGetChatRoomMessagesCallback? callback})
→ Future<int>
-
获取聊天室历史消息记录。
注:必须先开通聊天室消息云存储功能。
-
getConversation(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetConversationCallback? callback})
→ Future<int>
-
获取某个会话
-
getConversationNotificationLevel(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetConversationNotificationLevelCallback? callback})
→ Future<int>
-
获取会话的消息提醒状态
-
getConversations(List<RCIMIWConversationType> conversationTypes, String? channelId, int startTime, int count, {IRCIMIWGetConversationsCallback? callback})
→ Future<int>
-
获取某些会话
-
getConversationsForAllChannel(RCIMIWConversationType type, String targetId, {IRCIMIWGetConversationsForAllChannelCallback? callback})
→ Future<int>
-
获取特定会话下所有频道的会话列表,只支持超级群
-
getConversationsFromTagByPage(String tagId, int timestamp, int count, {IRCIMIWGetConversationsCallback? callback})
→ Future<int>
-
以会话中最后一条消息时间戳为界,分页获取本地指定标签下会话列表
-
getConversationTopStatus(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetConversationTopStatusCallback? callback})
→ Future<int>
-
获取会话的置顶状态
-
getConversationTopStatusInTag(String tagId, RCIMIWConversationType type, String targetId, {IRCIMIWGetConversationTopStatusInTagCallback? callback})
→ Future<int>
-
查询指定会话是否在携带同一标签的所有会话中置顶。获取成功后会返回是否已置顶。
-
getConversationTypeNotificationLevel(RCIMIWConversationType type, {IRCIMIWGetConversationTypeNotificationLevelCallback? callback})
→ Future<int>
-
获取会话类型的消息提醒状态
-
getDeltaTime()
→ Future<int>
-
获取本地时间与服务器时间的时间差。消息发送成功后,SDK 与服务器同步时间,消息所在数据库中存储的时间就是服务器时间。 System.currentTimeMillis() - getDeltaTime() 可以获取服务器当前时间。
-
getDraftMessage(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetDraftMessageCallback? callback})
→ Future<int>
-
获取会话中的草稿信息。
-
getFirstUnreadMessage(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetFirstUnreadMessageCallback? callback})
→ Future<int>
-
获取第一条未读消息。
-
getMessageById(int messageId, {IRCIMIWGetMessageCallback? callback})
→ Future<int>
-
根据消息 id 获取消息体(本地数据库索引唯一值)。
-
getMessageByUId(String messageUId, {IRCIMIWGetMessageCallback? callback})
→ Future<int>
-
通过全局唯一 id 获取消息实体。
-
getMessageCount(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetMessageCountCallback? callback})
→ Future<int>
-
获取指定会话的消息总数。
-
getMessages(RCIMIWConversationType type, String targetId, String? channelId, int sentTime, RCIMIWTimeOrder order, RCIMIWMessageOperationPolicy policy, int count, {IRCIMIWGetMessagesCallback? callback})
→ Future<int>
-
加载历史消息
-
getNotificationQuietHours({IRCIMIWGetNotificationQuietHoursCallback? callback})
→ Future<int>
-
获取已设置的时间段消息提醒屏蔽
-
getTags({IRCIMIWGetTagsCallback? callback})
→ Future<int>
-
获取当前用户已创建的标签信息
-
getTagsFromConversation(RCIMIWConversationType type, String targetId, {IRCIMIWGetTagsFromConversationCallback? callback})
→ Future<int>
-
获取指定会话携带的所有标签
-
getTopConversations(List<RCIMIWConversationType> conversationTypes, String? channelId, {IRCIMIWGetTopConversationsCallback? callback})
→ Future<int>
-
根据会话类型,获取置顶会话列表
-
getTotalUnreadCount(String? channelId, {IRCIMIWGetTotalUnreadCountCallback? callback})
→ Future<int>
-
获取所有未读数
-
getUltraGroupAllUnreadCount({IRCIMIWGetUltraGroupAllUnreadCountCallback? callback})
→ Future<int>
-
获取当前用户加入的所有超级群会话的未读消息数的总和。
-
getUltraGroupAllUnreadMentionedCount({IRCIMIWGetUltraGroupAllUnreadMentionedCountCallback? callback})
→ Future<int>
-
获取当前用户加入的所有超级群会话中的未读 @ 消息数的总和。
-
getUltraGroupChannelDefaultNotificationLevel(String targetId, String? channelId, {IRCIMIWGetUltraGroupChannelDefaultNotificationLevelCallback? callback})
→ Future<int>
-
获取超级群频道的默认消息状态
-
getUltraGroupDefaultNotificationLevel(String targetId, {IRCIMIWGetUltraGroupDefaultNotificationLevelCallback? callback})
→ Future<int>
-
获取超级群的默认消息状态
-
getUltraGroupUnreadCount(String targetId, {IRCIMIWGetUltraGroupUnreadCountCallback? callback})
→ Future<int>
-
获取指定会话的未读消息数
-
getUltraGroupUnreadMentionedCount(String targetId, {IRCIMIWGetUltraGroupUnreadMentionedCountCallback? callback})
→ Future<int>
-
获取超级群会话中被 @ 的消息数
-
getUnreadConversations(List<RCIMIWConversationType> conversationTypes, {IRCIMIWGetUnreadConversationsCallback? callback})
→ Future<int>
-
获取指定类型的含有未读消息的会话列表
-
getUnreadCount(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetUnreadCountCallback? callback})
→ Future<int>
-
获取某个会话的未读数
注:不支持聊天室!
-
getUnreadCountByConversationTypes(List<RCIMIWConversationType> conversationTypes, String? channelId, bool contain, {IRCIMIWGetUnreadCountByConversationTypesCallback? callback})
→ Future<int>
-
根据会话类型加载未读数
注:不支持聊天室!
-
getUnreadCountByTag(String tagId, bool contain, {IRCIMIWGetUnreadCountCallback? callback})
→ Future<int>
-
获取携带指定标签的所有会话的未读消息数。
-
getUnreadMentionedCount(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetUnreadMentionedCountCallback? callback})
→ Future<int>
-
获取会话中未读的 @ 消息数量。
注:不支持聊天室!
-
getUnreadMentionedMessages(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetUnreadMentionedMessagesCallback? callback})
→ Future<int>
-
获取会话中未读的 @ 消息。
-
insertMessage(RCIMIWMessage message, {IRCIMIWInsertMessageCallback? callback})
→ Future<int>
-
插入一条消息
-
insertMessages(List<RCIMIWMessage> messages, {IRCIMIWInsertMessagesCallback? callback})
→ Future<int>
-
插入多条消息,不支持超级群
-
joinChatRoom(String targetId, int messageCount, bool autoCreate, {IRCIMIWJoinChatRoomCallback? callback})
→ Future<int>
-
加入聊天室。
-
leaveChatRoom(String targetId, {IRCIMIWLeaveChatRoomCallback? callback})
→ Future<int>
-
退出聊天室。
-
loadBatchRemoteUltraGroupMessages(List<RCIMIWMessage> messages)
→ Future<int>
-
从服务获取批量消息
-
loadBlacklist()
→ Future<int>
-
加载当前用户设置的黑名单列表。
-
loadBlacklistStatus(String userId)
→ Future<int>
-
获取某用户是否在黑名单中。
-
loadBlockedConversations(List<RCIMIWConversationType> conversationTypes, String? channelId)
→ Future<int>
-
加载免打扰的会话列表。
-
loadChatRoomAllEntries(String targetId)
→ Future<int>
-
加载聊天室所有属性。
-
loadChatRoomEntry(String targetId, String key)
→ Future<int>
-
加载聊天室单个属性。
-
loadChatRoomMessages(String targetId, int timestamp, RCIMIWTimeOrder order, int count)
→ Future<int>
-
加载聊天室历史消息记录。
注:必须先开通聊天室消息云存储功能。
-
loadConversation(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载某个会话
-
loadConversationNotificationLevel(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载会话的消息提醒状态
-
loadConversations(List<RCIMIWConversationType> conversationTypes, String? channelId, int startTime, int count)
→ Future<int>
-
加载某些会话
-
loadConversationsForAllChannel(RCIMIWConversationType type, String targetId)
→ Future<int>
-
获取特定会话下所有频道的会话列表,只支持超级群
-
loadConversationTopStatus(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载会话的置顶状态
-
loadConversationTypeNotificationLevel(RCIMIWConversationType type)
→ Future<int>
-
获取会话类型的消息提醒状态
-
loadDraftMessage(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载会话中的草稿信息。
-
loadFirstUnreadMessage(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载第一条未读消息。
-
loadMessageCount(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载指定会话的消息总数。
-
loadMessages(RCIMIWConversationType type, String targetId, String? channelId, int sentTime, RCIMIWTimeOrder order, RCIMIWMessageOperationPolicy policy, int count)
→ Future<int>
-
加载历史消息
-
loadNotificationQuietHours()
→ Future<int>
-
加载已设置的时间段消息提醒屏蔽
-
loadTopConversations(List<RCIMIWConversationType> conversationTypes, String? channelId)
→ Future<int>
-
根据会话类型,加载置顶会话列表
-
loadTotalUnreadCount(String? channelId)
→ Future<int>
-
加载所有未读数
-
loadUltraGroupAllUnreadCount()
→ Future<int>
-
加载当前用户加入的所有超级群会话的未读消息数的总和。
-
loadUltraGroupAllUnreadMentionedCount()
→ Future<int>
-
加载当前用户加入的所有超级群会话中的未读 @ 消息数的总和。
-
loadUltraGroupChannelDefaultNotificationLevel(String targetId, String? channelId)
→ Future<int>
-
获取超级群频道的默认消息状态
-
loadUltraGroupDefaultNotificationLevel(String targetId)
→ Future<int>
-
获取超级群的默认消息状态
-
loadUltraGroupUnreadCount(String targetId)
→ Future<int>
-
获取指定会话的未读消息数
-
loadUltraGroupUnreadMentionedCount(String targetId)
→ Future<int>
-
获取超级群会话中被 @ 的消息数
-
loadUnreadCount(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载某个会话的未读数
注:不支持聊天室!
-
loadUnreadCountByConversationTypes(List<RCIMIWConversationType> conversationTypes, String? channelId, bool contain)
→ Future<int>
-
根据会话类型加载未读数
注:不支持聊天室!
-
loadUnreadMentionedCount(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载会话中未读的 @ 消息数量。
注:不支持聊天室!
-
loadUnreadMentionedMessages(RCIMIWConversationType type, String targetId, String? channelId)
→ Future<int>
-
加载会话中未读的 @ 消息。
-
modifyUltraGroupMessage(String messageUId, RCIMIWMessage message, {IRCIMIWModifyUltraGroupMessageCallback? callback})
→ Future<int>
-
修改超级群消息
-
modifyUltraGroupMessageForWeb(RCIMIWMessage originalMessage, RCIMIWMessage newMessage, {IRCIMIWModifyUltraGroupMessageCallback? callback})
→ Future<int>
-
修改超级群消息
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
recallMessage(RCIMIWMessage message, {IRCIMIWRecallMessageCallback? callback})
→ Future<int>
-
撤回消息
-
recallUltraGroupMessage(RCIMIWMessage message, bool deleteRemote, {IRCIMIWRecallUltraGroupMessageCallback? callback})
→ Future<int>
-
撤回超级群消息
-
registerCustomMessage(String objectName, RCIMIWUserCustomMessage messageDcoder(Map<String, dynamic> json))
→ Future<void>
-
注册自定义消息
-
removeChatRoomEntries(String targetId, List<String> keys, bool force, {IRCIMIWRemoveChatRoomEntriesCallback? callback})
→ Future<int>
-
批量删除聊天室自定义属性
-
removeChatRoomEntry(String targetId, String key, bool force, {IRCIMIWRemoveChatRoomEntryCallback? callback})
→ Future<int>
-
删除聊天室自定义属性。
-
removeConversation(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWRemoveConversationCallback? callback})
→ Future<int>
-
移除某个会话
-
removeConversationFromTag(String tagId, RCIMIWConversationType type, String targetId, {IRCIMIWRemoveConversationFromTagCallback? callback})
→ Future<int>
-
从标签中移除一个会话
-
removeConversations(List<RCIMIWConversationType> conversationTypes, String? channelId, {IRCIMIWRemoveConversationsCallback? callback})
→ Future<int>
-
根据会话类型移除会话
-
removeFromBlacklist(String userId, {IRCIMIWRemoveFromBlacklistCallback? callback})
→ Future<int>
-
将某个用户从黑名单中移出。
-
removeMessageExpansionForKeys(String messageUId, List<String> keys, {IRCIMIWRemoveMessageExpansionForKeysCallback? callback})
→ Future<int>
-
删除消息扩展信息中特定的键值对
-
removeMessageExpansionForKeysForWeb(RCIMIWMessage message, List<String> keys, {IRCIMIWRemoveMessageExpansionForKeysCallback? callback})
→ Future<int>
-
删除消息扩展信息中特定的键值对
-
removeNotificationQuietHours({IRCIMIWRemoveNotificationQuietHoursCallback? callback})
→ Future<int>
-
删除已设置的全局时间段消息提醒屏蔽
-
removeTag(String tagId, {IRCIMIWRemoveTagCallback? callback})
→ Future<int>
-
移除标签
-
removeTagsFromConversation(RCIMIWConversationType type, String targetId, List<String> tagIds, {IRCIMIWRemoveTagsFromConversationCallback? callback})
→ Future<int>
-
为指定会话移除一个或多个标签
-
removeUltraGroupMessageExpansionForKeys(String messageUId, List<String> keys, {IRCIMIWRemoveUltraGroupMessageExpansionForKeysCallback? callback})
→ Future<int>
-
删除超级群消息扩展信息中特定的键值对
-
removeUltraGroupMessageExpansionForKeysForWeb(RCIMIWMessage message, List<String> keys, {IRCIMIWRemoveUltraGroupMessageExpansionForKeysCallback? callback})
→ Future<int>
-
删除超级群消息扩展信息中特定的键值对
-
saveDraftMessage(RCIMIWConversationType type, String targetId, String? channelId, String draft, {IRCIMIWSaveDraftMessageCallback? callback})
→ Future<int>
-
保存会话草稿信息。
-
searchConversations(List<RCIMIWConversationType> conversationTypes, String? channelId, List<RCIMIWMessageType> messageTypes, String keyword, {IRCIMIWSearchConversationsCallback? callback})
→ Future<int>
-
根据关键字搜索会话。
-
searchMessages(RCIMIWConversationType type, String targetId, String? channelId, String keyword, int startTime, int count, {IRCIMIWSearchMessagesCallback? callback})
→ Future<int>
-
根据关键字搜索指定会话中的消息。
-
searchMessagesByTimeRange(RCIMIWConversationType type, String targetId, String? channelId, String keyword, int startTime, int endTime, int offset, int count, {IRCIMIWSearchMessagesByTimeRangeCallback? callback})
→ Future<int>
-
根据关键字搜索指定会话中某个时间段的消息。
-
searchMessagesByUserId(String userId, RCIMIWConversationType type, String targetId, String? channelId, int startTime, int count, {IRCIMIWSearchMessagesByUserIdCallback? callback})
→ Future<int>
-
根据用户 id 搜索指定会话中的消息。
-
sendGroupMessageToDesignatedUsers(RCIMIWMessage message, List<String> userIds, {RCIMIWSendGroupMessageToDesignatedUsersCallback? callback})
→ Future<int>
-
给指定的群成员发送消息
-
sendGroupReadReceiptRequest(RCIMIWMessage message, {IRCIMIWSendGroupReadReceiptRequestCallback? callback})
→ Future<int>
-
发起群聊消息已读回执请求
-
sendGroupReadReceiptResponse(String targetId, String? channelId, List<RCIMIWMessage> messages, {IRCIMIWSendGroupReadReceiptResponseCallback? callback})
→ Future<int>
-
发送群聊已读回执
-
sendMediaMessage(RCIMIWMediaMessage message, {RCIMIWSendMediaMessageListener? listener})
→ Future<int>
-
发送媒体消息
-
sendMessage(RCIMIWMessage message, {RCIMIWSendMessageCallback? callback})
→ Future<int>
-
发送普通消息
-
sendPrivateReadReceiptMessage(String targetId, String? channelId, int timestamp, {IRCIMIWSendPrivateReadReceiptMessageCallback? callback})
→ Future<int>
-
发送某个会话中的消息阅读回执
-
sendPrivateReadReceiptMessageForWeb(String targetId, String? channelId, int timestamp, String messageUId, {IRCIMIWSendPrivateReadReceiptMessageCallback? callback})
→ Future<int>
-
发送某个会话中的消息阅读回执
-
sendTypingStatus(RCIMIWConversationType type, String targetId, String? channelId, String currentType)
→ Future<int>
-
向会话中发送正在输入的状态,目前只支持单聊。
-
sendUltraGroupTypingStatus(String targetId, String? channelId, RCIMIWUltraGroupTypingStatus typingStatus, {IRCIMIWSendUltraGroupTypingStatusCallback? callback})
→ Future<int>
-
发送超级群输入状态
-
syncConversationReadStatus(RCIMIWConversationType type, String targetId, String? channelId, int timestamp, {IRCIMIWSyncConversationReadStatusCallback? callback})
→ Future<int>
-
同步会话阅读状态。
-
syncUltraGroupReadStatus(String targetId, String? channelId, int timestamp, {IRCIMIWSyncUltraGroupReadStatusCallback? callback})
→ Future<int>
-
上报超级群的已读时间
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateMessageExpansion(String messageUId, Map expansion, {IRCIMIWUpdateMessageExpansionCallback? callback})
→ Future<int>
-
更新消息扩展信息
每条消息携带扩展信息键值对最大值 300个,单次设置扩展信息键值对最大值 20个
-
updateMessageExpansionForWeb(RCIMIWMessage message, Map expansion, {IRCIMIWUpdateMessageExpansionCallback? callback})
→ Future<int>
-
更新消息扩展信息
每条消息携带扩展信息键值对最大值 300个,单次设置扩展信息键值对最大值 20个
-
updateTagNameById(String tagId, String newName, {IRCIMIWUpdateTagNameByIdCallback? callback})
→ Future<int>
-
更新标签信息
-
updateUltraGroupMessageExpansion(String messageUId, Map expansion, {IRCIMIWUpdateUltraGroupMessageExpansionCallback? callback})
→ Future<int>
-
更新超级群消息扩展信息
-
updateUltraGroupMessageExpansionForWeb(RCIMIWMessage message, Map expansion, {IRCIMIWUpdateUltraGroupMessageExpansionCallback? callback})
→ Future<int>
-
更新超级群消息扩展信息