|
NIM PC Cross Platform SDK
|
Typedefs | |
| typedef std::function< QChatAttachmentCustomTokenResp(const QChatAttachmentCustomTokenResp &)> | AttachmentCustomTokenCallback |
| 获取附件自定义token回调 | |
| typedef std::function< void(const QChatAttachmentUploadResp &)> | AttachmentUploadCallback |
| 上传附件回调 | |
| typedef std::function< void(const QChatAttachmentDownloadResp &)> | AttachmentDownloadCallback |
| 下载附件回调 | |
| typedef std::function< void(const QChatAttachmentProgressResp &)> | AttachmentProgressCallback |
| 上传/下载附件进度回调 | |
| using | QChatChannelDeleteResp = QChatBaseResp |
| using | QChatChannelUpdateResp = QChatChannelCreateResp |
| using | QChatChannelUpdateCategoryInfoResp = QChatChannelCreateResp |
| typedef QChatBaseResp | QChatChannelUpdateWhiteBlackRoleResp |
| typedef QChatBaseResp | QChatChannelUpdateWhiteBlackMembersResp |
| using | QChatChannelGetMembersPageResp = QChatServerGetMembersPageResp |
| using | QChatChannelSearchPageResp = QChatChannelGetChannelsPageResp |
| using | QChatChannelCategoryRemoveResp = QChatBaseResp |
| using | QChatChannelCategoryUpdateResp = QChatChannelCategoryCreateResp |
| using | QChatChannelGetCategoryChannelsPageResp = QChatChannelGetChannelsPageResp |
| using | QChatChannelCategoryUpdateWhiteBlackRoleResp = QChatBaseResp |
| using | QChatChannelCategoryUpdateWhiteBlackMembersResp = QChatBaseResp |
| using | QChatChannelUpdateRTCInfoResp = QChatBaseResp |
| typedef std::function< void(const QChatChannelUnreadResp &)> | ChannelUnreadCallback |
| 未读信息回调 | |
| typedef std::function< void(const QChatChannelCreateResp &)> | ChannelCreateCallback |
| 创建频道回调 | |
| typedef std::function< void(const QChatChannelDeleteResp &)> | ChannelDeleteCallback |
| 删除频道回调 | |
| typedef std::function< void(const QChatChannelUpdateResp &)> | ChannelUpdateCallback |
| 更新频道回调 | |
| typedef std::function< void(const QChatChannelUpdateCategoryInfoResp &)> | ChannelUpdateCategoryInfoCallback |
| 更新频道的分组信息回调 | |
| typedef std::function< void(const QChatChannelGetChannelsResp &)> | GetChannelsCallback |
| 查询频道列表回调 | |
| typedef std::function< void(const QChatChannelGetChannelsPageResp &)> | GetChannelsPageCallback |
| 分页查询频道列表回调 | |
| typedef std::function< void(const QChatChannelGetMembersPageResp &)> | ChannelGetMembersPageCallback |
| 分页查询成员列表回调 | |
| typedef std::function< void(const QChatChannelQueryUnreadInfoResp &)> | ChannelQueryUnreadInfoCallback |
| 查询未读消息数回调 | |
| typedef std::function< void(const QChatChannelSubscribeResp &)> | ChannelSubscribeCallback |
| 订阅回调 | |
| typedef std::function< void(const QChatChannelUpdateWhiteBlackRoleResp &)> | UpdateWhiteBlackRoleCallback |
| 更新白/黑名单身份组回调 | |
| typedef std::function< void(const QChatChannelUpdateWhiteBlackMembersResp &)> | UpdateWhiteBlackMembersCallback |
| 更新白/黑名单成员回调 | |
| typedef std::function< void(const QChatChannelGetWhiteBlackRolesPageResp &)> | GetWhiteBlackRolesPageCallback |
| 分页查询白/黑名单身份组回调 | |
| typedef std::function< void(const QChatChannelGetWhiteBlackMembersPageResp &)> | GetWhiteBlackMembersPageCallback |
| 分页查询白/黑名单成员回调 | |
| typedef std::function< void(const QChatChannelGetExistingWhiteBlackRolesResp &)> | GetExistingWhiteBlackRolesCallback |
| 查询已存在白/黑名单身份组回调 | |
| typedef std::function< void(const QChatChannelGetExistingWhiteBlackMembersResp &)> | GetExistingWhiteBlackMembersCallback |
| 查询已存在白/黑名单成员回调 | |
| using | ChannelSearchPageCallback = GetChannelsPageCallback |
| 搜索频道分页回调 | |
| using | ChannelMemberSearchCallback = std::function< void(const QChatChannelMemberSearchResp &)> |
| 搜索频道成员回调 | |
| using | ChannelCategoryCreateCallback = std::function< void(const QChatChannelCategoryCreateResp &)> |
| 创建频道分组回调 | |
| using | ChannelCategoryRemoveCallback = std::function< void(const QChatChannelCategoryRemoveResp &)> |
| 删除频道分组回调 | |
| using | ChannelCategoryUpdateCallback = std::function< void(const QChatChannelCategoryUpdateResp &)> |
| 更新频道分组回调 | |
| using | ChannelGetCategoriesByIDCallback = std::function< void(const QChatChannelGetCategoriesByIDResp &)> |
| 根据频道分组ID查询频道分组列表回调 | |
| using | ChannelGetCategoriesPageCallback = std::function< void(const QChatChannelGetCategoriesPageResp &)> |
| 分页查询频道分组回调 | |
| using | ChannelGetCategoryChannelsPageCallback = std::function< void(const QChatChannelGetCategoryChannelsPageResp &)> |
| 分页查询指定频道分组中的频道 | |
| using | ChannelCategoryUpdateWhiteBlackRoleCallback = std::function< void(const QChatChannelCategoryUpdateWhiteBlackRoleResp &)> |
| 更新频道分组白/黑名单身份组 | |
| using | ChannelCategoryGetWhiteBlackRolesPageCallback = std::function< void(const QChatChannelCategoryGetWhiteBlackRolesPageResp &)> |
| 分页查询频道分组白/黑名单身份组 | |
| using | ChannelCategoryGetExistingWhiteBlackRolesCallback = std::function< void(const QChatChannelCategoryGetExistingWhiteBlackRolesResp &)> |
| 批量查询频道分组白/黑名单身份组 | |
| using | ChannelCategoryUpdateWhiteBlackMembersCallback = std::function< void(const QChatChannelCategoryUpdateWhiteBlackMembersResp &)> |
| 更新频道分组白/黑名单成员 | |
| using | ChannelCategoryGetWhiteBlackMembersPageCallback = std::function< void(const QChatChannelCategoryGetWhiteBlackMembersPageResp &)> |
| 分页查询频道分组白/黑名单成员 | |
| using | ChannelCategoryGetExistingWhiteBlackMembersCallback = std::function< void(const QChatChannelCategoryGetExistingWhiteBlackMembersResp &)> |
| 批量查询频道分组白/黑名单成员 | |
| using | ChannelUpdateRTCInfoCallback = std::function< void(const QChatChannelUpdateRTCInfoResp &)> |
| 修改RTC频道参数回调 | |
| using | ChannelGetRTCInfoCallback = std::function< void(const QChatChannelGetRTCInfoResp &)> |
| 查询RTC频道参数回调 | |
| using | ChannelGetRTCOnlineMembersCallback = std::function< void(const QChatChannelGetRTCOnlineMembersResp &)> |
| 查询RTC频道在线成员回调 | |
| typedef std::function< QChatCustomTokenResp(const QChatCustomTokenResp &)> | CustomTokenCallback |
| 获取自定义token回调 | |
| typedef std::function< void(const QChatKickedResp &)> | KickedCallback |
| 被踢回调 | |
| typedef std::function< void(const QChatLoginStatusResp &)> | LoginStatusCallback |
| 被踢回调 | |
| typedef std::function< void(const QChatMultispotLoginResp &)> | MultispotLoginCallback |
| 多点登录回调 | |
| typedef std::function< void(const QChatSDKLogResp &)> | SDKLogCallback |
| SDK系统日志回调模板 | |
| typedef std::function< void(const QChatLoginResp &)> | LoginCallback |
| 登录回调 | |
| typedef std::function< void(const QChatLogoutResp &)> | LogoutCallback |
| 登出回调 | |
| typedef std::function< void(const QChatKickResp &)> | KickCallback |
| 踢掉自己其他端回调 | |
| using | GetRTCTokenCallback = std::function< void(const QChatGetRTCTokenResp &)> |
| 获取RTC频道token回调 | |
| using | QChatReplyMessageResp = QChatSendMessageResp |
| using | QChatGetMessagesCacheResp = QChatGetMessagesResp |
| using | QChatGetMessageHistoryByIdsResp = QChatGetMessagesResp |
| using | QChatGetReferMessagesResp = QChatGetMessagesResp |
| using | QChatAddQuickCommentResp = QChatBaseResp |
| using | QChatRemoveQuickCommentResp = QChatBaseResp |
| typedef std::function< void(const QChatRecvMsgResp &)> | RecvMsgCallback |
| 接收消息回调 | |
| typedef std::function< void(const QChatSendMessageResp &)> | SendMsgCallback |
| 发送消息回调 | |
| typedef std::function< void(const QChatUpdateMessageResp &)> | UpdateMsgCallback |
| 更新消息回调 | |
| typedef std::function< void(const QChatMsgUpdatedResp &)> | MsgUpdatedCallback |
| 消息更新回调 | |
| typedef std::function< void(const QChatGetMessagesResp &)> | GetMessagesCallback |
| 查询历史消息回调 | |
| typedef std::function< void(const QChatGetLastMessagesResp &)> | GetLastMessagesCallback |
| 查询频道最后一条消息回调 | |
| using | GetMessagesCacheCallback = GetMessagesCallback |
| 本地获取消息回调 | |
| typedef std::function< void(const QChatMarkMessageReadResp &)> | MarkMessageReadCallback |
| 消息已读标记回调 | |
| using | ReplyMessageCallback = std::function< void(const QChatReplyMessageResp &)> |
| 回复消息回调 | |
| using | GetMessageHistoryByIdsCallback = GetMessagesCallback |
| 根据消息 ID 查询消息回调 | |
| using | GetReferMessagesCallback = GetMessagesCallback |
| 获取关联消息回调 | |
| using | GetThreadMessagesCallback = std::function< void(const QChatGetThreadMessagesResp &)> |
| 查询Thread消息回调 | |
| using | GetThreadRootMessagesMetaCallback = std::function< void(const QChatGetThreadRootMessagesMetaResp &)> |
| 查询Thread消息元信息回调 | |
| using | QuickCommentCallback = QChatBaseCallback |
| 添加快捷回复回调 | |
| using | GetQuickCommentsCallback = std::function< void(const QChatGetQuickCommentsResp &)> |
| 查询快捷回复回调 | |
| using | MessageSearchPageCallback = std::function< void(const QChatMessageSearchPageResp &)> |
| 消息分页搜索回调 | |
| using | QChatAddQuickCommentParam = QChatQuickCommentParam< kNIMQChatQuickCommentAdd, NIMQChatAddQuickCommentParam, NIMQChatAddQuickCommentResp > |
| using | QChatRemoveQuickCommentParam = QChatQuickCommentParam< kNIMQChatQuickCommentRemove, NIMQChatRemoveQuickCommentParam, NIMQChatRemoveQuickCommentResp > |
| typedef std::function< void(const QChatBaseResp &)> | QChatBaseCallback |
| 通用回调模板 | |
| using | QChatPermission = std::map< uint32_t, NIMQChatPermissionsOption > |
| using | QChatDeleteServerRoleResp = QChatBaseResp |
| using | QChatUpdateServerRolePrioritiesResp = QChatGetServerRolesResp |
| using | QChatRemoveMembersFromServerRoleResp = QChatAddMembersToServerRoleResp |
| using | QChatUpdateChannelRoleResp = QChatAddChannelRoleResp |
| using | QChatRemoveChannelRoleResp = QChatBaseResp |
| using | QChatUpdateChannelCategoryRoleResp = QChatAddChannelCategoryRoleResp |
| using | QChatRemoveChannelCategoryRoleResp = QChatBaseResp |
| using | QChatUpdateMemberRoleResp = QChatAddMemberRoleResp |
| using | QChatRemoveMemberRoleResp = QChatBaseResp |
| using | QChatUpdateChannelCategoryMemberRoleResp = QChatAddChannelCategoryMemberRoleResp |
| using | QChatRemoveChannelCategoryMemberRoleResp = QChatBaseResp |
| using | QChatGetRolesByAccidResp = QChatGetServerRolesResp |
| using | QChatGetExistingChannelRolesByServerRoleIdsResp = QChatGetChannelRolesResp |
| using | QChatGetExistingAccidsInServerRoleResp = QChatGetExistingAccidsOfMemberRolesResp |
| using | QChatCreateServerRoleCallback = std::function< void(const QChatCreateServerRoleResp &)> |
| using | QChatUpdateServerRoleCallback = std::function< void(const QChatUpdateServerRoleResp &)> |
| using | QChatBatchUpdateServerRolePrioritiesCallback = std::function< void(const QChatUpdateServerRolePrioritiesResp &)> |
| using | QChatDeleteServerRoleCallback = QChatBaseCallback |
| using | QChatGetServerRolesCallback = std::function< void(const QChatGetServerRolesResp &)> |
| using | QChatAddMembersToServerRoleCallback = std::function< void(const QChatAddMembersToServerRoleResp &)> |
| using | QChatRemoveMembersFromServerRoleCallback = std::function< void(const QChatRemoveMembersFromServerRoleResp &)> |
| using | QChatGetMembersFromServerRoleCallback = std::function< void(const QChatGetMembersFromServerRoleResp &)> |
| using | QChatAddChannelRoleCallback = std::function< void(const QChatAddChannelRoleResp &)> |
| using | QChatUpdateChannelRoleCallback = std::function< void(const QChatUpdateChannelRoleResp &)> |
| using | QChatRemoveChannelRoleCallback = QChatBaseCallback |
| using | QChatGetChannelRolesCallback = std::function< void(const QChatGetChannelRolesResp &)> |
| using | QChatAddMemberRoleCallback = std::function< void(const QChatAddMemberRoleResp &)> |
| using | QChatUpdateMemberRoleCallback = std::function< void(const QChatUpdateMemberRoleResp &)> |
| using | QChatRemoveMemberRoleCallback = QChatBaseCallback |
| using | QChatGetMemberRoleInChannelCallback = std::function< void(const QChatGetMemberRolesResp &)> |
| using | QChatGetRolesByMemberIdCallback = std::function< void(const QChatGetRolesByAccidResp &)> |
| using | QChatGetRolesByMemberIdsCallback = std::function< void(const QChatGetExistingServerRolesByAccidsResp &)> |
| using | QChatGetExistingRolesInChannelCallback = std::function< void(const QChatGetExistingChannelRolesByServerRoleIdsResp &)> |
| using | QChatGetExistingAccidsOfMemberRolesCallback = std::function< void(const QChatGetExistingAccidsOfMemberRolesResp &)> |
| using | QChatGetExistingAccidsInServerRoleCallback = std::function< void(const QChatGetExistingAccidsInServerRoleResp &)> |
| using | QChatCheckPermissionCallback = std::function< void(const QChatCheckPermissionResp &)> |
| using | QChatCheckPermissionsCallback = std::function< void(const QChatCheckPermissionsResp &)> |
| using | QChatAddChannelCategoryRoleCallback = std::function< void(const QChatAddChannelCategoryRoleResp &)> |
| using | QChatUpdateChannelCategoryRoleCallback = std::function< void(const QChatUpdateChannelCategoryRoleResp &)> |
| using | QChatRemoveChannelCategoryRoleCallback = QChatBaseCallback |
| using | QChatGetChannelCategoryRolesPageCallback = std::function< void(const QChatGetChannelCategoryRolesPageResp &)> |
| using | QChatAddChannelCategoryMemberRoleCallback = std::function< void(const QChatAddChannelCategoryMemberRoleResp &)> |
| using | QChatUpdateChannelCategoryMemberRoleCallback = std::function< void(const QChatUpdateChannelCategoryMemberRoleResp &)> |
| using | QChatRemoveChannelCategoryMemberRoleCallback = QChatBaseCallback |
| using | QChatGetChannelCategoryMemberRolesPageCallback = std::function< void(const QChatGetChannelCategoryMemberRolesPageResp &)> |
| using | QChatServerDeleteResp = QChatBaseResp |
| using | QChatServerUpdateResp = QChatServerCreateResp |
| using | QChatServerAcceptInviteResp = QChatBaseResp |
| using | QChatServerRejectInviteResp = QChatBaseResp |
| using | QChatServerAcceptApplyResp = QChatBaseResp |
| using | QChatServerRejectApplyResp = QChatBaseResp |
| using | QChatServerKickResp = QChatBaseResp |
| using | QChatServerLeaveResp = QChatBaseResp |
| using | QChatServerUpdateMemberInfoResp = QChatBaseResp |
| using | QChatServerBanMemberResp = QChatBaseResp |
| using | QChatServerUnbanMemberResp = QChatBaseResp |
| using | QChatServerSearchPageResp = QChatServerGetServersPageResp |
| using | QChatServerMemberSearchResp = QChatServerGetMembersResp |
| using | QChatServerJoinByInviteCodeResp = QChatBaseResp |
| using | QChatServerGetInviteApplyRecordOfSelfResp = QChatServerGetInviteApplyRecordOfServerResp |
| using | ServerUnreadCallback = std::function< void(const QChatServerUnreadResp &)> |
| 未读数回调 | |
| typedef std::function< void(const QChatServerCreateResp &)> | ServerCreateCallback |
| 创建服务器回调 | |
| typedef std::function< void(const QChatServerDeleteResp &)> | ServerRemoveCallback |
| 删除服务器回调 | |
| typedef std::function< void(const QChatServerUpdateResp &)> | ServerUpdateCallback |
| 更新服务器回调 | |
| typedef std::function< void(const QChatServerGetServersResp &)> | GetServersCallback |
| 查询服务器列表回调 | |
| typedef std::function< void(const QChatServerGetServersPageResp &)> | GetServersPageCallback |
| 查询服务器列表分页回调 | |
| typedef std::function< void(const QChatServerInviteResp &)> | ServerInviteCallback |
| 邀请用户加入服务器回调 | |
| typedef std::function< void(const QChatServerAcceptInviteResp &)> | ServerAcceptInviteCallback |
| 接受邀请加入服务器回调 | |
| typedef std::function< void(const QChatServerRejectInviteResp &)> | ServerRejectInviteCallback |
| 拒绝邀请加入服务器回调 | |
| typedef std::function< void(const QChatServerApplyResp &)> | ServerApplyCallback |
| 申请加入服务器回调 | |
| typedef std::function< void(const QChatServerAcceptApplyResp &)> | ServerAcceptApplyCallback |
| 接受申请加入服务器回调 | |
| typedef std::function< void(const QChatServerRejectApplyResp &)> | ServerRejectApplyCallback |
| 拒绝申请加入服务器回调 | |
| typedef std::function< void(const QChatServerKickResp &)> | ServerKickCallback |
| 踢出服务器回调 | |
| typedef std::function< void(const QChatServerLeaveResp &)> | ServerLeaveCallback |
| 离开服务器回调 | |
| typedef std::function< void(const QChatServerUpdateMemberInfoResp &)> | ServerUpdateMemberInfoCallback |
| 更新服务器成员信息回调 | |
| typedef std::function< void(const QChatServerGetMembersResp &)> | ServerGetMembersCallback |
| 查询服务器成员列表回调 | |
| typedef std::function< void(const QChatServerGetMembersPageResp &)> | ServerGetMembersPageCallback |
| 查询服务器成员列表分页回调 | |
| typedef std::function< void(const QChatServerSubscribeResp &)> | ServerSubscribeCallback |
| 订阅回调 | |
| typedef std::function< void(const QChatServerBanMemberResp &)> | ServerBanMemberCallback |
| 封禁成员回调 | |
| typedef std::function< void(const QChatServerUnbanMemberResp &)> | ServerUnbanMemberCallback |
| 解封成员回调 | |
| typedef std::function< void(const QChatServerGetBannedMembersPageResp &)> | ServerGetBannedMembersPageCallback |
| 查询服务器成员封禁列表分页回调 | |
| using | ServerSearchPageCallback = GetServersPageCallback |
| 搜索服务器分页回调 | |
| using | ServerMemberSearchCallback = ServerGetMembersCallback |
| 搜索服务器成员分页回调 | |
| using | ServerGenerateInviteCodeCallback = std::function< void(const QChatServerGenerateInviteCodeResp &)> |
| 生成邀请码回调 | |
| using | ServerJoinByInviteCodeCallback = std::function< void(const QChatServerJoinByInviteCodeResp &)> |
| 通过邀请码加入回调 | |
| using | ServerGetInviteApplyRecordOfServerCallback = std::function< void(const QChatServerGetInviteApplyRecordOfServerResp &)> |
| 查询服务器下的申请邀请记录回调 | |
| using | ServerGetInviteApplyRecordOfSelfCallback = std::function< void(const QChatServerGetInviteApplyRecordOfSelfResp &)> |
| 查询自己的申请邀请记录回调 | |
| using | ServerMarkReadCallback = std::function< void(const QChatServerMarkReadResp &)> |
| 服务器标记已读 | |
| using | ServerSubscribeAllChannelCallback = std::function< void(const QChatServerSubscribeAllChannelResp &)> |
| 订阅所有频道 | |
| using | QChatSystemNotificationDataChannelCategoryUpdate = QChatSystemNotificationDataChannelCategoryCreate |
| using | QChatSystemNotificationDataServerRoleRemoveMember = QChatSystemNotificationDataServerRoleAddMember |
| using | QChatMarkReadSystemNotificationResp = QChatBaseResp |
| using | QChatMarkSystemNotificationsReadResp = QChatBaseResp |
| typedef std::function< void(const QChatRecvSystemNotificationResp &)> | RecvSystemNotificationCallback |
| 接收系统消息回调 | |
| typedef std::function< void(const QChatSendSystemNotificationResp &)> | SendSystemNotificationCallback |
| 发送系统消息回调 | |
| typedef std::function< void(const QChatSystemNotificationUpdatedResp &)> | SystemNotificationUpdatedCallback |
| 消息更新回调 | |
| typedef std::function< void(const QChatUpdateSystemNotificationResp &)> | UpdateSystemNotificationCallback |
| 更新系统通知回调 | |
| typedef std::function< void(const QChatMarkSystemNotificationsReadResp &)> | MarkReadSystemNotificationCallback |
| 标记系统通知消息已读回调函数 | |
| typedef std::function< void(const QChatRecvTypingEventResp &)> | RecvTypingEventCallback |
| 接收圈组正在输入事件回调 | |
| typedef std::function< void(const QChatSendTypingEventResp &)> | SendTypingEventCallback |
| 发送圈组正在输入事件回调 | |
Functions | |
| template<typename CPP_TYPE , typename C_TYPE > | |
| static std::shared_ptr< QChatSystemNotificationDataBase > | MsgDataCPPToC (void *c_msg_data) |
Variables | |
| static SDKLogCallback | g_sdk_log_cb = nullptr |
| nim::SDKInstance * | nim_qchat_sdk_instance = nullptr |
| static const char * | kNIMQChatWidth = "w" |
| static const char * | kNIMQChatHeight = "h" |
| static const char * | kNIMQChatDuration = "dur" |
| static const char * | kNIMQChatLatitude = "lat" |
| static const char * | kNIMQChatLongitude = "lng" |
| static const char * | kNIMQChatTitle = "title" |
| static const char * | kNIMQChatFilePath = "file_path" |
| static const char * | kNIMQChatURL = "url" |
| static const char * | kNIMQChatMD5 = "md5" |
| static const char * | kNIMQChatName = "name" |
| static const char * | kNIMQChatExt = "ext" |
| static const char * | kNIMQChatID = "id" |
| static const char * | kNIMQChatType = "type" |
| static const char * | kNIMQChatData = "data" |
| static std::map< NIMQChatSystemNotificationType, std::function< std::shared_ptr< QChatSystemNotificationDataBase >(void *)> > | msg_data_transform_map_ |
namespace nim_qchat
圈组