RCIMWrapperPluginWeb class

Inheritance
  • Object
  • PlatformInterface
  • RCIMWrapperPluginWeb

Constructors

RCIMWrapperPluginWeb()

Properties

engine RCIMIWEngine?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
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>
将一个会话添加到指定标签
inherited
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」的私聊会话置顶。
inherited
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 spanMins, 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>
删除指定标签下的全部会话,同时解除这些会话和标签的绑定关系。删除成功后,会话不再携带指定的标签。这些会话收到新消息时,会产生新的会话。
inherited
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>
清除携带指定标签的所有会话的未读消息数。
inherited
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 会启动重连机制进行重连;如果仍没有连接成功,会在设备网络状态变化时再次进行重连。
create(String appKey, RCIMIWEngineOptions options) Future<void>
引擎构建方法
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>
构建图片消息,发送成功后会根据文件自动生成缩略图
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>
构建小视频消息, 发送成功后会根据文件自动生成 duration 和 缩略图
createTag(String tagId, String tagName, {IRCIMIWCreateTagCallback? callback}) Future<int>
创建标签信息
inherited
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>
构建语音消息 (高清语音),发送成功后会根据文件自动生成 duration
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>
以会话中最后一条消息时间戳为界,分页获取本地指定标签下会话列表
inherited
getConversationTopStatus(RCIMIWConversationType type, String targetId, String? channelId, {IRCIMIWGetConversationTopStatusCallback? callback}) Future<int>
获取会话的置顶状态
getConversationTopStatusInTag(String tagId, RCIMIWConversationType type, String targetId, {IRCIMIWGetConversationTopStatusInTagCallback? callback}) Future<int>
查询指定会话是否在携带同一标签的所有会话中置顶。获取成功后会返回是否已置顶。
inherited
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>
获取当前用户已创建的标签信息
inherited
getTagsFromConversation(RCIMIWConversationType type, String targetId, {IRCIMIWGetTagsFromConversationCallback? callback}) Future<int>
获取指定会话携带的所有标签
inherited
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>
获取指定类型的含有未读消息的会话列表
inherited
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>
获取携带指定标签的所有会话的未读消息数。
inherited
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, {IRCIMIWGetDraftMessageCallback? callback}) 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>
撤回超级群消息
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>
从标签中移除一个会话
inherited
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>
移除标签
inherited
removeTagsFromConversation(RCIMIWConversationType type, String targetId, List<String> tagIds, {IRCIMIWRemoveTagsFromConversationCallback? callback}) Future<int>
为指定会话移除一个或多个标签
inherited
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>
发送超级群输入状态
setEngine(RCIMIWEngine engine) → void
inherited
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>
更新标签信息
inherited
updateUltraGroupMessageExpansion(String messageUId, Map expansion, {IRCIMIWUpdateUltraGroupMessageExpansionCallback? callback}) Future<int>
更新超级群消息扩展信息
updateUltraGroupMessageExpansionForWeb(RCIMIWMessage message, Map expansion, {IRCIMIWUpdateUltraGroupMessageExpansionCallback? callback}) Future<int>
更新超级群消息扩展信息

Operators

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

Static Methods

registerWith(Registrar registrar) → void