融云 Unity IM SDK 5.X
|
类 | |
class | RCIMAndroidPushOptions |
class | RCIMBlockedMessageInfo |
class | RCIMChatRoomMemberAction |
class | RCIMCommandMessage |
class | RCIMCommandNotificationMessage |
class | RCIMCompressOptions |
class | RCIMConversation |
class | RCIMCustomMessage |
class | RCIMEngine |
class | RCIMEngineOptions |
class | RCIMFileMessage |
class | RCIMGIFMessage |
class | RCIMGroupReadReceiptInfo |
class | RCIMImageMessage |
class | RCIMIOSPushOptions |
class | RCIMLocationMessage |
class | RCIMMediaMessage |
class | RCIMMentionedInfo |
class | RCIMMessage |
class | RCIMMessagePushOptions |
class | RCIMPushOptions |
class | RCIMRecallNotificationMessage |
class | RCIMReferenceMessage |
class | RCIMSearchConversationResult |
class | RCIMSightMessage |
class | RCIMTextMessage |
class | RCIMTypingStatus |
class | RCIMUltraGroupTypingStatusInfo |
class | RCIMUnknownMessage |
class | RCIMUserInfo |
class | RCIMVoiceMessage |
class | RCUnityLogger |
函数 | |
delegate void | OnMessageReceivedDelegate (RCIMMessage message, int left, bool offline, bool hasPackage) |
收到消息的监听 更多... | |
delegate void | OnConnectionStatusChangedDelegate (RCIMConnectionStatus status) |
网络状态变化 更多... | |
delegate void | OnConversationTopStatusSyncedDelegate (RCIMConversationType type, string targetId, string channelId, bool top) |
会话状态置顶多端同步监听 更多... | |
delegate void | OnRemoteMessageRecalledDelegate (RCIMMessage message) |
撤回消息监听器 更多... | |
delegate void | OnPrivateReadReceiptReceivedDelegate (string targetId, string channelId, long timestamp) |
单聊中收到消息回执的回调 更多... | |
delegate void | OnRemoteMessageExpansionUpdatedDelegate (Dictionary< string, string > expansion, RCIMMessage message) |
消息扩展信息更改的回调 更多... | |
delegate void | OnRemoteMessageExpansionForKeyRemovedDelegate (RCIMMessage message, List< string > keys) |
消息扩展信息删除的回调 更多... | |
delegate void | OnChatRoomMemberChangedDelegate (string targetId, List< RCIMChatRoomMemberAction > actions) |
聊天室用户进入、退出聊天室监听 更多... | |
delegate void | OnTypingStatusChangedDelegate (RCIMConversationType type, string targetId, string channelId, List< RCIMTypingStatus > userTypingStatus) |
会话输入状态发生变化。对于单聊而言,当对方正在输入时,监听会触发一次;当对方不处于输入状态时,该监听还会触发一次,但回调里输入用户列表为空 更多... | |
delegate void | OnConversationReadStatusSyncMessageReceivedDelegate (RCIMConversationType type, string targetId, long timestamp) |
同步消息未读状态监听接口。多端登录,收到其它端清除某一会话未读数通知的时候 更多... | |
delegate void | OnChatRoomEntriesSyncedDelegate (string roomId) |
聊天室 KV 同步完成的回调 更多... | |
delegate void | OnChatRoomEntriesChangedDelegate (RCIMChatRoomEntriesOperationType operationType, string roomId, Dictionary< string, string > entries) |
聊天室 KV 发生变化的回调 更多... | |
delegate void | OnRemoteUltraGroupMessageExpansionUpdatedDelegate (List< RCIMMessage > messages) |
超级群消息 kv 被更新 更多... | |
delegate void | OnRemoteUltraGroupMessageModifiedDelegate (List< RCIMMessage > messages) |
超级群消息被更改 更多... | |
delegate void | OnRemoteUltraGroupMessageRecalledDelegate (List< RCIMMessage > messages) |
超级群消息被撤回 更多... | |
delegate void | OnUltraGroupReadTimeReceivedDelegate (string targetId, string channelId, long timestamp) |
超级群已读的监听 更多... | |
delegate void | OnUltraGroupTypingStatusChangedDelegate (List< RCIMUltraGroupTypingStatusInfo > info) |
用户输入状态变化的回调。当客户端收到用户输入状态的变化时,会回调此接口,通知发生变化的会话以及当前正在输入的RCUltraGroupTypingStatusInfo列表 更多... | |
delegate void | OnMessageBlockedDelegate (RCIMBlockedMessageInfo info) |
发送含有敏感词消息被拦截的回调 更多... | |
delegate void | OnChatRoomStatusChangedDelegate (string targetId, RCIMChatRoomStatus status) |
聊天室状态发生变化的监听 更多... | |
delegate void | OnGroupMessageReadReceiptRequestReceivedDelegate (string targetId, string messageUId) |
收到群聊已读回执请求的监听 更多... | |
delegate void | OnGroupMessageReadReceiptResponseReceivedDelegate (string targetId, string messageUId, Dictionary< string, long > respondUserIds) |
收到群聊已读回执响应的监听 更多... | |
delegate void | OnConnectedDelegate (int code, string userId) |
connect 的接口监听,收到链接结果的回调 更多... | |
delegate void | OnDatabaseOpenedDelegate (int code) |
connect 的接口监听,数据库打开时发生的回调 更多... | |
delegate void | OnConversationLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, RCIMConversation conversation) |
loadConversation 的接口监听 更多... | |
delegate void | OnConversationsLoadedDelegate (int code, List< RCIMConversationType > conversationTypes, string channelId, long startTime, int count, List< RCIMConversation > conversations) |
loadConversations 的接口监听 更多... | |
delegate void | OnConversationRemovedDelegate (int code, RCIMConversationType type, string targetId, string channelId) |
removeConversation 的接口监听 更多... | |
delegate void | OnConversationsRemovedDelegate (int code, List< RCIMConversationType > conversationTypes, string channelId) |
removeConversations 的接口监听 更多... | |
delegate void | OnTotalUnreadCountLoadedDelegate (int code, string channelId, int count) |
loadTotalUnreadCount 的接口监听 更多... | |
delegate void | OnUnreadCountLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, int count) |
loadUnreadCount 的接口监听 更多... | |
delegate void | OnUnreadCountByConversationTypesLoadedDelegate (int code, List< RCIMConversationType > conversationTypes, string channelId, bool contain, int count) |
loadUnreadCountByConversationTypes 的接口监听 更多... | |
delegate void | OnUnreadMentionedCountLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, int count) |
loadUnreadMentionedCount 的接口监听 更多... | |
delegate void | OnUltraGroupAllUnreadCountLoadedDelegate (int code, int count) |
loadUltraGroupAllUnreadMentionedCount 的接口监听 更多... | |
delegate void | OnUltraGroupAllUnreadMentionedCountLoadedDelegate (int code, int count) |
loadUltraGroupAllUnreadMentionedCount 的接口监听 更多... | |
delegate void | OnUnreadCountClearedDelegate (int code, RCIMConversationType type, string targetId, string channelId, long timestamp) |
clearUnreadCount 的接口监听 更多... | |
delegate void | OnDraftMessageSavedDelegate (int code, RCIMConversationType type, string targetId, string channelId, string draft) |
saveDraftMessage 的接口监听 更多... | |
delegate void | OnDraftMessageClearedDelegate (int code, RCIMConversationType type, string targetId, string channelId) |
clearDraftMessage 的接口监听 更多... | |
delegate void | OnDraftMessageLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, string draft) |
loadDraftMessage 的接口监听 更多... | |
delegate void | OnBlockedConversationsLoadedDelegate (int code, List< RCIMConversationType > conversationTypes, string channelId, List< RCIMConversation > conversations) |
loadBlockedConversations 的接口监听 更多... | |
delegate void | OnConversationTopStatusChangedDelegate (int code, RCIMConversationType type, string targetId, string channelId, bool top) |
changeConversationTopStatus 的接口监听 更多... | |
delegate void | OnConversationTopStatusLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, bool top) |
loadConversationTopStatus 的接口监听 更多... | |
delegate void | OnConversationReadStatusSyncedDelegate (int code, RCIMConversationType type, string targetId, string channelId, long timestamp) |
syncConversationReadStatus 的接口监听 更多... | |
delegate void | OnMessageAttachedDelegate (RCIMMessage message) |
sendMessage 的接口监听 更多... | |
delegate void | OnMessageSentDelegate (int code, RCIMMessage message) |
sendMessage 的接口监听 更多... | |
delegate void | OnMediaMessageAttachedDelegate (RCIMMediaMessage message) |
sendMediaMessage 的接口监听 更多... | |
delegate void | OnMediaMessageSendingDelegate (RCIMMediaMessage message, int progress) |
sendMediaMessage 的接口监听 更多... | |
delegate void | OnSendingMediaMessageCanceledDelegate (int code, RCIMMediaMessage message) |
cancelSendingMediaMessage 的接口监听 更多... | |
delegate void | OnMediaMessageSentDelegate (int code, RCIMMediaMessage message) |
sendMediaMessage 的接口监听 更多... | |
delegate void | OnMediaMessageDownloadingDelegate (RCIMMediaMessage message, int progress) |
downloadMediaMessage 的接口监听 更多... | |
delegate void | OnMediaMessageDownloadedDelegate (int code, RCIMMediaMessage message) |
downloadMediaMessage 的接口监听 更多... | |
delegate void | OnDownloadingMediaMessageCanceledDelegate (int code, RCIMMediaMessage message) |
cancelDownloadingMediaMessage 的接口监听 更多... | |
delegate void | OnMessagesLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, long sentTime, RCIMTimeOrder order, List< RCIMMessage > messages) |
loadMessages 的接口监听 更多... | |
delegate void | OnUnreadMentionedMessagesLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, List< RCIMMessage > messages) |
loadUnreadMentionedMessages 的接口监听 更多... | |
delegate void | OnFirstUnreadMessageLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, RCIMMessage message) |
loadFirstUnreadMessage 的接口监听 更多... | |
delegate void | OnMessageInsertedDelegate (int code, RCIMMessage message) |
insertMessage 的接口监听 更多... | |
delegate void | OnMessagesInsertedDelegate (int code, List< RCIMMessage > messages) |
insertMessages 的接口监听 更多... | |
delegate void | OnMessageClearedDelegate (int code, RCIMConversationType type, string targetId, string channelId, long timestamp) |
clearMessages 的接口监听 更多... | |
delegate void | OnLocalMessagesDeletedDelegate (int code, List< RCIMMessage > messages) |
deleteLocalMessages 的接口监听 更多... | |
delegate void | OnMessagesDeletedDelegate (int code, RCIMConversationType type, string targetId, string channelId, List< RCIMMessage > messages) |
deleteMessages 的接口监听 更多... | |
delegate void | OnMessageRecalledDelegate (int code, RCIMMessage message) |
recallMessage 的接口监听 更多... | |
delegate void | OnPrivateReadReceiptMessageSentDelegate (int code, string targetId, string channelId, long timestamp) |
sendPrivateReadReceiptMessage 的接口监听 更多... | |
delegate void | OnMessageExpansionUpdatedDelegate (int code, string messageUId, Dictionary< string, string > expansion) |
updateMessageExpansion 的接口监听 更多... | |
delegate void | OnMessageExpansionForKeysRemovedDelegate (int code, string messageUId, List< string > keys) |
removeMessageExpansionForKeys 的接口监听 更多... | |
delegate void | OnMessageReceiveStatusChangedDelegate (int code, long messageId) |
changeMessageReceiveStatus 的接口监听 更多... | |
delegate void | OnMessageSentStatusChangedDelegate (int code, long messageId) |
changeMessageSentStatus 的接口监听 更多... | |
delegate void | OnChatRoomJoinedDelegate (int code, string targetId) |
joinChatRoom 的接口监听 更多... | |
delegate void | OnChatRoomJoiningDelegate (string targetId) |
正在加入聊天室的回调 更多... | |
delegate void | OnChatRoomLeftDelegate (int code, string targetId) |
leaveChatRoom 的接口监听 更多... | |
delegate void | OnChatRoomMessagesLoadedDelegate (int code, string targetId, List< RCIMMessage > messages, long syncTime) |
loadChatRoomMessages 的接口监听 更多... | |
delegate void | OnChatRoomEntryAddedDelegate (int code, string targetId, string key) |
addChatRoomEntry 的接口监听 更多... | |
delegate void | OnChatRoomEntriesAddedDelegate (int code, string targetId, Dictionary< string, string > entries, Dictionary< string, int > errorEntries) |
addChatRoomEntries 的接口监听 更多... | |
delegate void | OnChatRoomEntryLoadedDelegate (int code, string targetId, Dictionary< string, string > entry) |
loadChatRoomEntry 的接口监听 更多... | |
delegate void | OnAllChatRoomEntriesLoadedDelegate (int code, string targetId, Dictionary< string, string > entries) |
loadAllChatRoomEntries 的接口监听 更多... | |
delegate void | OnChatRoomEntryRemovedDelegate (int code, string targetId, string key) |
removeChatRoomEntry 的接口监听 更多... | |
delegate void | OnChatRoomEntriesRemovedDelegate (int code, string targetId, List< string > keys) |
removeChatRoomEntries 的接口监听 更多... | |
delegate void | OnBlacklistAddedDelegate (int code, string userId) |
addToBlacklist 的接口监听 更多... | |
delegate void | OnBlacklistRemovedDelegate (int code, string userId) |
removeFromBlacklist 的接口监听 更多... | |
delegate void | OnBlacklistStatusLoadedDelegate (int code, string userId, RCIMBlacklistStatus status) |
loadBlacklistStatus 的接口监听 更多... | |
delegate void | OnBlacklistLoadedDelegate (int code, List< string > userIds) |
loadBlacklist 的接口监听 更多... | |
delegate void | OnMessagesSearchedDelegate (int code, RCIMConversationType type, string targetId, string channelId, string keyword, long startTime, int count, List< RCIMMessage > messages) |
searchMessages 的接口监听 更多... | |
delegate void | OnMessagesSearchedByTimeRangeDelegate (int code, RCIMConversationType type, string targetId, string channelId, string keyword, long startTime, long endTime, int offset, int count, List< RCIMMessage > messages) |
searchMessagesByTimeRange 的接口监听 更多... | |
delegate void | OnMessagesSearchedByUserIdDelegate (int code, string userId, RCIMConversationType type, string targetId, string channelId, long startTime, int count, List< RCIMMessage > messages) |
searchMessagesByUserId 的接口监听 更多... | |
delegate void | OnConversationsSearchedDelegate (int code, List< RCIMConversationType > conversationTypes, string channelId, List< RCIMMessageType > messageTypes, string keyword, List< RCIMSearchConversationResult > conversations) |
searchConversations 的接口监听 更多... | |
delegate void | OnGroupReadReceiptRequestSentDelegate (int code, RCIMMessage message) |
sendGroupReadReceiptRequest 的接口监听 更多... | |
delegate void | OnGroupReadReceiptResponseSentDelegate (int code, string targetId, string channelId, List< RCIMMessage > messages) |
sendGroupReadReceiptResponse 的接口监听 更多... | |
delegate void | OnNotificationQuietHoursChangedDelegate (int code, string startTime, int spanMins, RCIMPushNotificationQuietHoursLevel level) |
changeNotificationQuietHours 的接口回调 更多... | |
delegate void | OnNotificationQuietHoursRemovedDelegate (int code) |
removeNotificationQuietHours 的接口回调 更多... | |
delegate void | OnNotificationQuietHoursLoadedDelegate (int code, string startTime, int spanMins, RCIMPushNotificationQuietHoursLevel level) |
loadNotificationQuietHours 的接口回调 更多... | |
delegate void | OnConversationNotificationLevelChangedDelegate (int code, RCIMConversationType type, string targetId, string channelId, RCIMPushNotificationLevel level) |
changeConversationNotificationLevel 的接口回调 更多... | |
delegate void | OnConversationNotificationLevelLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, RCIMPushNotificationLevel level) |
loadConversationNotificationLevel 的接口回调 更多... | |
delegate void | OnConversationTypeNotificationLevelChangedDelegate (int code, RCIMConversationType type, RCIMPushNotificationLevel level) |
changeConversationTypeNotificationLevel 的接口回调 更多... | |
delegate void | OnConversationTypeNotificationLevelLoadedDelegate (int code, RCIMConversationType type, RCIMPushNotificationLevel level) |
loadConversationTypeNotificationLevel 的接口回调 更多... | |
delegate void | OnUltraGroupDefaultNotificationLevelChangedDelegate (int code, string targetId, RCIMPushNotificationLevel level) |
changeUltraGroupDefaultNotificationLevel 的接口回调 更多... | |
delegate void | OnUltraGroupDefaultNotificationLevelLoadedDelegate (int code, string targetId, RCIMPushNotificationLevel level) |
loadUltraGroupDefaultNotificationLevel 的接口回调 更多... | |
delegate void | OnUltraGroupChannelDefaultNotificationLevelChangedDelegate (int code, string targetId, string channelId, RCIMPushNotificationLevel level) |
changeUltraGroupChannelDefaultNotificationLevel 的接口回调 更多... | |
delegate void | OnUltraGroupChannelDefaultNotificationLevelLoadedDelegate (int code, string targetId, string channelId, RCIMPushNotificationLevel level) |
loadUltraGroupChannelDefaultNotificationLevel 的接口回调 更多... | |
delegate void | OnPushContentShowStatusChangedDelegate (int code, bool showContent) |
changePushContentShowStatus 的接口监听 更多... | |
delegate void | OnPushLanguageChangedDelegate (int code, string language) |
changePushLanguage 的接口监听 更多... | |
delegate void | OnPushReceiveStatusChangedDelegate (int code, bool receive) |
changePushReceiveStatus 的接口监听 更多... | |
delegate void | OnMessageCountLoadedDelegate (int code, RCIMConversationType type, string targetId, string channelId, int count) |
loadMessageCount 的接口监听 更多... | |
delegate void | OnTopConversationsLoadedDelegate (int code, List< RCIMConversationType > conversationTypes, string channelId, List< RCIMConversation > conversations) |
delegate void | OnGroupMessageToDesignatedUsersAttachedDelegate (RCIMMessage message) |
sendGroupMessageToDesignatedUsers 的接口回调。消息存入数据库的回调 更多... | |
delegate void | OnGroupMessageToDesignatedUsersSentDelegate (int code, RCIMMessage message) |
sendGroupMessageToDesignatedUsers 的接口回调。消息发送完成的回调 更多... | |
delegate void | OnUltraGroupReadStatusSyncedDelegate (int code, string targetId, string channelId, long timestamp) |
syncUltraGroupReadStatus 的接口监听 更多... | |
delegate void | OnConversationsLoadedForAllChannelDelegate (int code, RCIMConversationType type, string targetId, List< RCIMConversation > conversations) |
loadConversationsForAllChannel 的接口监听 更多... | |
delegate void | OnUltraGroupUnreadMentionedCountLoadedDelegate (int code, string targetId, int count) |
loadUltraGroupUnreadMentionedCount 的接口监听 更多... | |
delegate void | OnUltraGroupUnreadCountLoadedDelegate (int code, string targetId, int count) |
delegate void | OnUltraGroupMessageModifiedDelegate (int code, string messageUId) |
modifyUltraGroupMessage 的接口监听 更多... | |
delegate void | OnUltraGroupMessageRecalledDelegate (int code, RCIMMessage message, bool deleteRemote) |
recallUltraGroupMessage 的接口监听 更多... | |
delegate void | OnUltraGroupMessagesClearedDelegate (int code, string targetId, string channelId, long timestamp, RCIMMessageOperationPolicy policy) |
clearUltraGroupMessages 的接口监听 更多... | |
delegate void | OnUltraGroupMessagesClearedForAllChannelDelegate (int code, string targetId, long timestamp) |
clearUltraGroupMessagesForAllChannel 的接口监听 更多... | |
delegate void | OnUltraGroupTypingStatusSentDelegate (int code, string targetId, string channelId, RCIMUltraGroupTypingStatus typingStatus) |
sendUltraGroupTypingStatus 的接口监听 更多... | |
delegate void | OnBatchRemoteUltraGroupMessagesLoadedDelegate (int code, List< RCIMMessage > matchedMessages, List< RCIMMessage > notMatchedMessages) |
loadBatchRemoteUltraGroupMessages 的接口监听 更多... | |
delegate void | OnUltraGroupMessageExpansionUpdatedDelegate (int code, Dictionary< string, string > expansion, string messageUId) |
updateUltraGroupMessageExpansion 的接口监听 更多... | |
delegate void | OnUltraGroupMessageExpansionRemovedDelegate (int code, string messageUId, List< string > keys) |
removeUltraGroupMessageExpansion 的接口监听 更多... | |
delegate void cn_rongcloud_im_unity.OnMessageReceivedDelegate | ( | RCIMMessage | message, |
int | left, | ||
bool | offline, | ||
bool | hasPackage | ||
) |
收到消息的监听
message | 接收到的消息对象 |
left | 当客户端连接成功后,服务端会将所有补偿消息以消息包的形式下发给客户端,最多每 200 条消息为一个消息包,即一个 Package, 客户端接受到消息包后,会逐条解析并通知应用。left 为当前消息包(Package)里还剩余的消息条数 |
offline | 消息是否离线消息 |
hasPackage | 是否在服务端还存在未下发的消息包 |
delegate void cn_rongcloud_im_unity.OnConnectionStatusChangedDelegate | ( | RCIMConnectionStatus | status | ) |
网络状态变化
status | SDK 与融云服务器的连接状态 |
delegate void cn_rongcloud_im_unity.OnConversationTopStatusSyncedDelegate | ( | RCIMConversationType | type, |
string | targetId, | ||
string | channelId, | ||
bool | top | ||
) |
会话状态置顶多端同步监听
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可。 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
top | 是否置顶 |
delegate void cn_rongcloud_im_unity.OnRemoteMessageRecalledDelegate | ( | RCIMMessage | message | ) |
撤回消息监听器
message | 原本的消息会变为撤回消息 |
delegate void cn_rongcloud_im_unity.OnPrivateReadReceiptReceivedDelegate | ( | string | targetId, |
string | channelId, | ||
long | timestamp | ||
) |
单聊中收到消息回执的回调
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 已阅读的最后一条消息的 sendTime |
delegate void cn_rongcloud_im_unity.OnRemoteMessageExpansionUpdatedDelegate | ( | Dictionary< string, string > | expansion, |
RCIMMessage | message | ||
) |
消息扩展信息更改的回调
expansion | 消息扩展信息中更新的键值对,只包含更新的键值对,不是全部的数据。如果想获取全部的键值对,请使用 message 的 expansion 属性 |
message | 发生变化的消息 |
delegate void cn_rongcloud_im_unity.OnRemoteMessageExpansionForKeyRemovedDelegate | ( | RCIMMessage | message, |
List< string > | keys | ||
) |
消息扩展信息删除的回调
message | 发生变化的消息 |
keys | 消息扩展信息中删除的键值对 key 列表 |
delegate void cn_rongcloud_im_unity.OnChatRoomMemberChangedDelegate | ( | string | targetId, |
List< RCIMChatRoomMemberAction > | actions | ||
) |
聊天室用户进入、退出聊天室监听
targetId | 会话 ID |
actions | 发生的事件 |
delegate void cn_rongcloud_im_unity.OnTypingStatusChangedDelegate | ( | RCIMConversationType | type, |
string | targetId, | ||
string | channelId, | ||
List< RCIMTypingStatus > | userTypingStatus | ||
) |
会话输入状态发生变化。对于单聊而言,当对方正在输入时,监听会触发一次;当对方不处于输入状态时,该监听还会触发一次,但回调里输入用户列表为空
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
userTypingStatus | 发生状态变化的集合 |
delegate void cn_rongcloud_im_unity.OnConversationReadStatusSyncMessageReceivedDelegate | ( | RCIMConversationType | type, |
string | targetId, | ||
long | timestamp | ||
) |
同步消息未读状态监听接口。多端登录,收到其它端清除某一会话未读数通知的时候
type | 会话类型 |
targetId | 会话 ID |
timestamp | 时间戳 |
delegate void cn_rongcloud_im_unity.OnChatRoomEntriesSyncedDelegate | ( | string | roomId | ) |
聊天室 KV 同步完成的回调
roomId | 聊天室 ID |
delegate void cn_rongcloud_im_unity.OnChatRoomEntriesChangedDelegate | ( | RCIMChatRoomEntriesOperationType | operationType, |
string | roomId, | ||
Dictionary< string, string > | entries | ||
) |
聊天室 KV 发生变化的回调
operationType | 操作的类型 |
roomId | 聊天室 ID |
entries | 发送变化的 KV |
delegate void cn_rongcloud_im_unity.OnRemoteUltraGroupMessageExpansionUpdatedDelegate | ( | List< RCIMMessage > | messages | ) |
超级群消息 kv 被更新
messages | 被更新的消息集合 |
delegate void cn_rongcloud_im_unity.OnRemoteUltraGroupMessageModifiedDelegate | ( | List< RCIMMessage > | messages | ) |
超级群消息被更改
messages | 被更新的消息集合 |
delegate void cn_rongcloud_im_unity.OnRemoteUltraGroupMessageRecalledDelegate | ( | List< RCIMMessage > | messages | ) |
超级群消息被撤回
messages | 撤回的消息集合 |
delegate void cn_rongcloud_im_unity.OnUltraGroupReadTimeReceivedDelegate | ( | string | targetId, |
string | channelId, | ||
long | timestamp | ||
) |
超级群已读的监听
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp |
delegate void cn_rongcloud_im_unity.OnUltraGroupTypingStatusChangedDelegate | ( | List< RCIMUltraGroupTypingStatusInfo > | info | ) |
用户输入状态变化的回调。当客户端收到用户输入状态的变化时,会回调此接口,通知发生变化的会话以及当前正在输入的RCUltraGroupTypingStatusInfo列表
info | 正在输入的RCUltraGroupTypingStatusInfo列表(nil标示当前没有用户正在输入) |
delegate void cn_rongcloud_im_unity.OnMessageBlockedDelegate | ( | RCIMBlockedMessageInfo | info | ) |
发送含有敏感词消息被拦截的回调
info | 被拦截消息的相关信息 |
delegate void cn_rongcloud_im_unity.OnChatRoomStatusChangedDelegate | ( | string | targetId, |
RCIMChatRoomStatus | status | ||
) |
聊天室状态发生变化的监听
targetId | 会话 ID |
status | 聊天室变化的状态 |
delegate void cn_rongcloud_im_unity.OnGroupMessageReadReceiptRequestReceivedDelegate | ( | string | targetId, |
string | messageUId | ||
) |
收到群聊已读回执请求的监听
targetId | 会话 ID |
messageUId | 消息的 messageUid |
delegate void cn_rongcloud_im_unity.OnGroupMessageReadReceiptResponseReceivedDelegate | ( | string | targetId, |
string | messageUId, | ||
Dictionary< string, long > | respondUserIds | ||
) |
收到群聊已读回执响应的监听
targetId | 会话 ID |
messageUId | 收到回执响应的消息的 messageUId |
respondUserIds | 会话中响应了此消息的用户列表。其中 key: 用户 id ; value: 响应时间 |
delegate void cn_rongcloud_im_unity.OnConnectedDelegate | ( | int | code, |
string | userId | ||
) |
connect 的接口监听,收到链接结果的回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
userId | 链接成功的用户 ID |
delegate void cn_rongcloud_im_unity.OnDatabaseOpenedDelegate | ( | int | code | ) |
connect 的接口监听,数据库打开时发生的回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
delegate void cn_rongcloud_im_unity.OnConversationLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
RCIMConversation | conversation | ||
) |
loadConversation 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
conversation | 获取到的会话 |
delegate void cn_rongcloud_im_unity.OnConversationsLoadedDelegate | ( | int | code, |
List< RCIMConversationType > | conversationTypes, | ||
string | channelId, | ||
long | startTime, | ||
int | count, | ||
List< RCIMConversation > | conversations | ||
) |
loadConversations 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
conversationTypes | 会话类型集合 |
channelId | 频道 ID,仅支持超级群使用, |
startTime | 时间戳(毫秒) |
count | 查询的数量 |
conversations | 查询到的会话集合 |
delegate void cn_rongcloud_im_unity.OnConversationRemovedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId | ||
) |
removeConversation 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
delegate void cn_rongcloud_im_unity.OnConversationsRemovedDelegate | ( | int | code, |
List< RCIMConversationType > | conversationTypes, | ||
string | channelId | ||
) |
removeConversations 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
conversationTypes | 会话类型集合 |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
delegate void cn_rongcloud_im_unity.OnTotalUnreadCountLoadedDelegate | ( | int | code, |
string | channelId, | ||
int | count | ||
) |
loadTotalUnreadCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUnreadCountLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
int | count | ||
) |
loadUnreadCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUnreadCountByConversationTypesLoadedDelegate | ( | int | code, |
List< RCIMConversationType > | conversationTypes, | ||
string | channelId, | ||
bool | contain, | ||
int | count | ||
) |
loadUnreadCountByConversationTypes 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
conversationTypes | 会话类型集合 |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
contain | 是否包含免打扰消息的未读消息数 |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUnreadMentionedCountLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
int | count | ||
) |
loadUnreadMentionedCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUltraGroupAllUnreadCountLoadedDelegate | ( | int | code, |
int | count | ||
) |
loadUltraGroupAllUnreadMentionedCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUltraGroupAllUnreadMentionedCountLoadedDelegate | ( | int | code, |
int | count | ||
) |
loadUltraGroupAllUnreadMentionedCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUnreadCountClearedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
long | timestamp | ||
) |
clearUnreadCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 该会话已阅读的最后一条消息的发送时间戳 |
delegate void cn_rongcloud_im_unity.OnDraftMessageSavedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
string | draft | ||
) |
saveDraftMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
draft | 草稿信息 |
delegate void cn_rongcloud_im_unity.OnDraftMessageClearedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId | ||
) |
clearDraftMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
delegate void cn_rongcloud_im_unity.OnDraftMessageLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
string | draft | ||
) |
loadDraftMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
draft | 草稿信息 |
delegate void cn_rongcloud_im_unity.OnBlockedConversationsLoadedDelegate | ( | int | code, |
List< RCIMConversationType > | conversationTypes, | ||
string | channelId, | ||
List< RCIMConversation > | conversations | ||
) |
loadBlockedConversations 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
conversationTypes | 会话类型集合 |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
conversations | 获取到的会话集合 |
delegate void cn_rongcloud_im_unity.OnConversationTopStatusChangedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
bool | top | ||
) |
changeConversationTopStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
top | 是否置顶 |
delegate void cn_rongcloud_im_unity.OnConversationTopStatusLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
bool | top | ||
) |
loadConversationTopStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
top | 是否置顶 |
delegate void cn_rongcloud_im_unity.OnConversationReadStatusSyncedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
long | timestamp | ||
) |
syncConversationReadStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 会话中已读的最后一条消息的发送时间戳 |
delegate void cn_rongcloud_im_unity.OnMessageAttachedDelegate | ( | RCIMMessage | message | ) |
sendMessage 的接口监听
message | 发送的消息 |
delegate void cn_rongcloud_im_unity.OnMessageSentDelegate | ( | int | code, |
RCIMMessage | message | ||
) |
sendMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 发送的消息 |
delegate void cn_rongcloud_im_unity.OnMediaMessageAttachedDelegate | ( | RCIMMediaMessage | message | ) |
sendMediaMessage 的接口监听
message | 发送的消息 |
delegate void cn_rongcloud_im_unity.OnMediaMessageSendingDelegate | ( | RCIMMediaMessage | message, |
int | progress | ||
) |
sendMediaMessage 的接口监听
message | 发送的消息 |
progress | 发送的进度 |
delegate void cn_rongcloud_im_unity.OnSendingMediaMessageCanceledDelegate | ( | int | code, |
RCIMMediaMessage | message | ||
) |
cancelSendingMediaMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 发送的消息 |
delegate void cn_rongcloud_im_unity.OnMediaMessageSentDelegate | ( | int | code, |
RCIMMediaMessage | message | ||
) |
sendMediaMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 发送的消息 |
delegate void cn_rongcloud_im_unity.OnMediaMessageDownloadingDelegate | ( | RCIMMediaMessage | message, |
int | progress | ||
) |
downloadMediaMessage 的接口监听
message | 下载的消息 |
progress | 下载的进度 |
delegate void cn_rongcloud_im_unity.OnMediaMessageDownloadedDelegate | ( | int | code, |
RCIMMediaMessage | message | ||
) |
downloadMediaMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 下载的消息 |
delegate void cn_rongcloud_im_unity.OnDownloadingMediaMessageCanceledDelegate | ( | int | code, |
RCIMMediaMessage | message | ||
) |
cancelDownloadingMediaMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 取消下载的消息 |
delegate void cn_rongcloud_im_unity.OnMessagesLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
long | sentTime, | ||
RCIMTimeOrder | order, | ||
List< RCIMMessage > | messages | ||
) |
loadMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
sentTime | 当前消息时间戳 |
order | 获取消息的方向。BEFORE:获取 sentTime 之前的消息 (时间递减),AFTER:获取 sentTime 之后的消息 (时间递增) |
messages | 获取到的消息集合 |
delegate void cn_rongcloud_im_unity.OnUnreadMentionedMessagesLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
List< RCIMMessage > | messages | ||
) |
loadUnreadMentionedMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
messages | 获取到的消息集合 |
delegate void cn_rongcloud_im_unity.OnFirstUnreadMessageLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
RCIMMessage | message | ||
) |
loadFirstUnreadMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
message | 获取到的消息 |
delegate void cn_rongcloud_im_unity.OnMessageInsertedDelegate | ( | int | code, |
RCIMMessage | message | ||
) |
insertMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 插入的消息 |
delegate void cn_rongcloud_im_unity.OnMessagesInsertedDelegate | ( | int | code, |
List< RCIMMessage > | messages | ||
) |
insertMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messages | 插入的消息集合 |
delegate void cn_rongcloud_im_unity.OnMessageClearedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
long | timestamp | ||
) |
clearMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 时间戳 |
delegate void cn_rongcloud_im_unity.OnLocalMessagesDeletedDelegate | ( | int | code, |
List< RCIMMessage > | messages | ||
) |
deleteLocalMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messages | 删除的消息集合 |
delegate void cn_rongcloud_im_unity.OnMessagesDeletedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
List< RCIMMessage > | messages | ||
) |
deleteMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
messages | 删除的消息集合 |
delegate void cn_rongcloud_im_unity.OnMessageRecalledDelegate | ( | int | code, |
RCIMMessage | message | ||
) |
recallMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 撤回的消息 |
delegate void cn_rongcloud_im_unity.OnPrivateReadReceiptMessageSentDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
long | timestamp | ||
) |
sendPrivateReadReceiptMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 时间戳 |
delegate void cn_rongcloud_im_unity.OnMessageExpansionUpdatedDelegate | ( | int | code, |
string | messageUId, | ||
Dictionary< string, string > | expansion | ||
) |
updateMessageExpansion 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messageUId | 消息的 messageUid |
expansion | 要更新的消息扩展信息键值对,类型是 HashMap |
delegate void cn_rongcloud_im_unity.OnMessageExpansionForKeysRemovedDelegate | ( | int | code, |
string | messageUId, | ||
List< string > | keys | ||
) |
removeMessageExpansionForKeys 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messageUId | 消息的 messageUid |
keys | 消息扩展信息中待删除的 key 的列表,类型是 ArrayList |
delegate void cn_rongcloud_im_unity.OnMessageReceiveStatusChangedDelegate | ( | int | code, |
long | messageId | ||
) |
changeMessageReceiveStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messageId | 消息的 messageId |
delegate void cn_rongcloud_im_unity.OnMessageSentStatusChangedDelegate | ( | int | code, |
long | messageId | ||
) |
changeMessageSentStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messageId | 消息的 messageId |
delegate void cn_rongcloud_im_unity.OnChatRoomJoinedDelegate | ( | int | code, |
string | targetId | ||
) |
joinChatRoom 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
delegate void cn_rongcloud_im_unity.OnChatRoomJoiningDelegate | ( | string | targetId | ) |
正在加入聊天室的回调
targetId | 聊天室 ID |
delegate void cn_rongcloud_im_unity.OnChatRoomLeftDelegate | ( | int | code, |
string | targetId | ||
) |
leaveChatRoom 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
delegate void cn_rongcloud_im_unity.OnChatRoomMessagesLoadedDelegate | ( | int | code, |
string | targetId, | ||
List< RCIMMessage > | messages, | ||
long | syncTime | ||
) |
loadChatRoomMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
messages | 加载到的消息 |
syncTime | 下次拉取的时间戳 |
delegate void cn_rongcloud_im_unity.OnChatRoomEntryAddedDelegate | ( | int | code, |
string | targetId, | ||
string | key | ||
) |
addChatRoomEntry 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
key | 聊天室属性名称 |
delegate void cn_rongcloud_im_unity.OnChatRoomEntriesAddedDelegate | ( | int | code, |
string | targetId, | ||
Dictionary< string, string > | entries, | ||
Dictionary< string, int > | errorEntries | ||
) |
addChatRoomEntries 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
entries | 聊天室属性 |
errorEntries | 发生错误的属性 |
delegate void cn_rongcloud_im_unity.OnChatRoomEntryLoadedDelegate | ( | int | code, |
string | targetId, | ||
Dictionary< string, string > | entry | ||
) |
loadChatRoomEntry 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
entry | 获取到的属性 |
delegate void cn_rongcloud_im_unity.OnAllChatRoomEntriesLoadedDelegate | ( | int | code, |
string | targetId, | ||
Dictionary< string, string > | entries | ||
) |
loadAllChatRoomEntries 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
entries | 获取到的属性集合 |
delegate void cn_rongcloud_im_unity.OnChatRoomEntryRemovedDelegate | ( | int | code, |
string | targetId, | ||
string | key | ||
) |
removeChatRoomEntry 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
key | 聊天室属性键值 |
delegate void cn_rongcloud_im_unity.OnChatRoomEntriesRemovedDelegate | ( | int | code, |
string | targetId, | ||
List< string > | keys | ||
) |
removeChatRoomEntries 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
keys | 聊天室属性键值集合 |
delegate void cn_rongcloud_im_unity.OnBlacklistAddedDelegate | ( | int | code, |
string | userId | ||
) |
addToBlacklist 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
userId | 用户 ID |
delegate void cn_rongcloud_im_unity.OnBlacklistRemovedDelegate | ( | int | code, |
string | userId | ||
) |
removeFromBlacklist 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
userId | 用户 ID |
delegate void cn_rongcloud_im_unity.OnBlacklistStatusLoadedDelegate | ( | int | code, |
string | userId, | ||
RCIMBlacklistStatus | status | ||
) |
loadBlacklistStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
userId | 用户 ID |
status | 当前状态 |
delegate void cn_rongcloud_im_unity.OnBlacklistLoadedDelegate | ( | int | code, |
List< string > | userIds | ||
) |
loadBlacklist 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
userIds | 用户 ID 集合 |
delegate void cn_rongcloud_im_unity.OnMessagesSearchedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
string | keyword, | ||
long | startTime, | ||
int | count, | ||
List< RCIMMessage > | messages | ||
) |
searchMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
keyword | 搜索的关键字 |
startTime | 查询 beginTime 之前的消息 |
count | 查询的数量 |
messages | 查询到的消息集合 |
delegate void cn_rongcloud_im_unity.OnMessagesSearchedByTimeRangeDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
string | keyword, | ||
long | startTime, | ||
long | endTime, | ||
int | offset, | ||
int | count, | ||
List< RCIMMessage > | messages | ||
) |
searchMessagesByTimeRange 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
keyword | 搜索的关键字 |
startTime | 开始时间 |
endTime | 结束时间 |
offset | 偏移量 |
count | 查询的数量 |
messages | 查询到的消息集合 |
delegate void cn_rongcloud_im_unity.OnMessagesSearchedByUserIdDelegate | ( | int | code, |
string | userId, | ||
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
long | startTime, | ||
int | count, | ||
List< RCIMMessage > | messages | ||
) |
searchMessagesByUserId 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
userId | 用户 id |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
startTime | 查询记录的起始时间 |
count | 查询的数量 |
messages | 查询到的消息集合 |
delegate void cn_rongcloud_im_unity.OnConversationsSearchedDelegate | ( | int | code, |
List< RCIMConversationType > | conversationTypes, | ||
string | channelId, | ||
List< RCIMMessageType > | messageTypes, | ||
string | keyword, | ||
List< RCIMSearchConversationResult > | conversations | ||
) |
searchConversations 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
conversationTypes | 会话类型集合 |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
messageTypes | 搜索的消息类型 |
keyword | 搜索的关键字 |
conversations | 查询到的会话集合 |
delegate void cn_rongcloud_im_unity.OnGroupReadReceiptRequestSentDelegate | ( | int | code, |
RCIMMessage | message | ||
) |
sendGroupReadReceiptRequest 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 需要请求已读回执的消息 |
delegate void cn_rongcloud_im_unity.OnGroupReadReceiptResponseSentDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
List< RCIMMessage > | messages | ||
) |
sendGroupReadReceiptResponse 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
messages | 会话中需要发送已读回执的消息列表 |
delegate void cn_rongcloud_im_unity.OnNotificationQuietHoursChangedDelegate | ( | int | code, |
string | startTime, | ||
int | spanMins, | ||
RCIMPushNotificationQuietHoursLevel | level | ||
) |
changeNotificationQuietHours 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
startTime | 开始消息免打扰时间 |
spanMins | 需要消息免打扰分钟数,0 < spanMins < 1440( 比如,您设置的起始时间是 00:00, 结束时间为 01:00,则 spanMins 为 60 分钟。设置为 1439 代表全天免打扰 (23 60 + 59 = 1439 )) |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnNotificationQuietHoursRemovedDelegate | ( | int | code | ) |
removeNotificationQuietHours 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
delegate void cn_rongcloud_im_unity.OnNotificationQuietHoursLoadedDelegate | ( | int | code, |
string | startTime, | ||
int | spanMins, | ||
RCIMPushNotificationQuietHoursLevel | level | ||
) |
loadNotificationQuietHours 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
startTime | 开始消息免打扰时间 |
spanMins | 已设置的屏蔽时间分钟数,0 < spanMins < 1440] |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnConversationNotificationLevelChangedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
RCIMPushNotificationLevel | level | ||
) |
changeConversationNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnConversationNotificationLevelLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
RCIMPushNotificationLevel | level | ||
) |
loadConversationNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
level | 当前会话的消息通知级别 |
delegate void cn_rongcloud_im_unity.OnConversationTypeNotificationLevelChangedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
RCIMPushNotificationLevel | level | ||
) |
changeConversationTypeNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnConversationTypeNotificationLevelLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
RCIMPushNotificationLevel | level | ||
) |
loadConversationTypeNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnUltraGroupDefaultNotificationLevelChangedDelegate | ( | int | code, |
string | targetId, | ||
RCIMPushNotificationLevel | level | ||
) |
changeUltraGroupDefaultNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnUltraGroupDefaultNotificationLevelLoadedDelegate | ( | int | code, |
string | targetId, | ||
RCIMPushNotificationLevel | level | ||
) |
loadUltraGroupDefaultNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnUltraGroupChannelDefaultNotificationLevelChangedDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
RCIMPushNotificationLevel | level | ||
) |
changeUltraGroupChannelDefaultNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用 |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnUltraGroupChannelDefaultNotificationLevelLoadedDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
RCIMPushNotificationLevel | level | ||
) |
loadUltraGroupChannelDefaultNotificationLevel 的接口回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用 |
level | 消息通知级别 |
delegate void cn_rongcloud_im_unity.OnPushContentShowStatusChangedDelegate | ( | int | code, |
bool | showContent | ||
) |
changePushContentShowStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
showContent | 是否显示远程推送内容 |
delegate void cn_rongcloud_im_unity.OnPushLanguageChangedDelegate | ( | int | code, |
string | language | ||
) |
changePushLanguage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
language | 推送语言 |
delegate void cn_rongcloud_im_unity.OnPushReceiveStatusChangedDelegate | ( | int | code, |
bool | receive | ||
) |
changePushReceiveStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
receive | 是否接收 |
delegate void cn_rongcloud_im_unity.OnMessageCountLoadedDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
string | channelId, | ||
int | count | ||
) |
loadMessageCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
count | 消息的数量 |
delegate void cn_rongcloud_im_unity.OnTopConversationsLoadedDelegate | ( | int | code, |
List< RCIMConversationType > | conversationTypes, | ||
string | channelId, | ||
List< RCIMConversation > | conversations | ||
) |
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
conversationTypes | 会话类型集合 |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
conversations | 加载的会话集合 |
delegate void cn_rongcloud_im_unity.OnGroupMessageToDesignatedUsersAttachedDelegate | ( | RCIMMessage | message | ) |
sendGroupMessageToDesignatedUsers 的接口回调。消息存入数据库的回调
message | 发送的消息内容 |
delegate void cn_rongcloud_im_unity.OnGroupMessageToDesignatedUsersSentDelegate | ( | int | code, |
RCIMMessage | message | ||
) |
sendGroupMessageToDesignatedUsers 的接口回调。消息发送完成的回调
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 发送的消息内容 |
delegate void cn_rongcloud_im_unity.OnUltraGroupReadStatusSyncedDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
long | timestamp | ||
) |
syncUltraGroupReadStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 已读时间 |
delegate void cn_rongcloud_im_unity.OnConversationsLoadedForAllChannelDelegate | ( | int | code, |
RCIMConversationType | type, | ||
string | targetId, | ||
List< RCIMConversation > | conversations | ||
) |
loadConversationsForAllChannel 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
type | 会话类型 |
targetId | 会话 ID |
conversations | 获取到的会话集合 |
delegate void cn_rongcloud_im_unity.OnUltraGroupUnreadMentionedCountLoadedDelegate | ( | int | code, |
string | targetId, | ||
int | count | ||
) |
loadUltraGroupUnreadMentionedCount 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
count | 未读数量 |
delegate void cn_rongcloud_im_unity.OnUltraGroupUnreadCountLoadedDelegate | ( | int | code, |
string | targetId, | ||
int | count | ||
) |
delegate void cn_rongcloud_im_unity.OnUltraGroupMessageModifiedDelegate | ( | int | code, |
string | messageUId | ||
) |
modifyUltraGroupMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messageUId | 消息的 messageUid |
delegate void cn_rongcloud_im_unity.OnUltraGroupMessageRecalledDelegate | ( | int | code, |
RCIMMessage | message, | ||
bool | deleteRemote | ||
) |
recallUltraGroupMessage 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
message | 撤回的消息 |
deleteRemote | 调用接口时传入的是否删除远端消息 |
delegate void cn_rongcloud_im_unity.OnUltraGroupMessagesClearedDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
long | timestamp, | ||
RCIMMessageOperationPolicy | policy | ||
) |
clearUltraGroupMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
timestamp | 时间戳 |
policy | 清除策略 |
delegate void cn_rongcloud_im_unity.OnUltraGroupMessagesClearedForAllChannelDelegate | ( | int | code, |
string | targetId, | ||
long | timestamp | ||
) |
clearUltraGroupMessagesForAllChannel 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
timestamp | 时间戳 |
delegate void cn_rongcloud_im_unity.OnUltraGroupTypingStatusSentDelegate | ( | int | code, |
string | targetId, | ||
string | channelId, | ||
RCIMUltraGroupTypingStatus | typingStatus | ||
) |
sendUltraGroupTypingStatus 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
targetId | 会话 ID |
channelId | 频道 ID,仅支持超级群使用,其他会话类型传 null 即可 |
typingStatus |
delegate void cn_rongcloud_im_unity.OnBatchRemoteUltraGroupMessagesLoadedDelegate | ( | int | code, |
List< RCIMMessage > | matchedMessages, | ||
List< RCIMMessage > | notMatchedMessages | ||
) |
loadBatchRemoteUltraGroupMessages 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
matchedMessages | 从服务获取的消息列表 |
notMatchedMessages | 非法参数或者从服务没有拿到对应消息 |
delegate void cn_rongcloud_im_unity.OnUltraGroupMessageExpansionUpdatedDelegate | ( | int | code, |
Dictionary< string, string > | expansion, | ||
string | messageUId | ||
) |
updateUltraGroupMessageExpansion 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
expansion | 更新的消息扩展信息键值对 |
messageUId | 消息的 messageUid |
delegate void cn_rongcloud_im_unity.OnUltraGroupMessageExpansionRemovedDelegate | ( | int | code, |
string | messageUId, | ||
List< string > | keys | ||
) |
removeUltraGroupMessageExpansion 的接口监听
code | 接口回调的状态码,0 代表成功,非 0 代表出现异常 |
messageUId | 消息的 messageUid |
keys | 消息扩展信息中待删除的 key 的列表 |