NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim 命名空间参考

namespace nim 更多...

class  Attachment
 圈组附件能力 更多...
 
struct  AudioInfo
 语音信息,用于语音转文字 更多...
 
struct  BlackMuteListInfo
 黑名单 静音名单信息 更多...
 
struct  BroadcastMessage
 
class  CallbackProxy
 
class  Channel
 圈组频道 更多...
 
class  ChannelCategory
 圈组频道分组 更多...
 
class  Client
 全局管理功能;主要包括SDK初始化/清理、客户端登录/退出等功能 更多...
 
struct  CollectInfo
 收藏内容属性 更多...
 
struct  CollectInfoList
 收藏列表 更多...
 
class  DataSync
 NIM SDK提供的数据同步相关接口 更多...
 
struct  DeleteFriendOption
 删除好有拓展选项 更多...
 
struct  DeleteMsglogSelfNotifyItemInfo
 单向删除消息记录回调参数 更多...
 
struct  DeleteMsglogSelfNotifyParam
 单向删除消息记录回调参数 更多...
 
class  DocTrans
 NIM SDK提供的文档转换相关接口 更多...
 
struct  DocTransInfo
 文档传输信息 更多...
 
struct  DownloadAttachementCallbacks
 
struct  DownloadCallbackExUserData
 
struct  DownloadCallbackUserData
 
struct  DownloadMediaResult
 下载完成的结果 更多...
 
struct  EventData
 事件数据 更多...
 
struct  EventOnlineClientType
 在线客户端类型,此结构体只用于在线状态事件的kNIMEventNimConfig字段 更多...
 
struct  EventSubscribeData
 事件订阅数据 更多...
 
class  Friend
 NIM 好友相关接口 更多...
 
struct  FriendAddEvent
 云信好友变更事件(请求添加) 更多...
 
struct  FriendChangeEvent
 云信好友变更事件 更多...
 
struct  FriendDelEvent
 云信好友变更事件(删除) 更多...
 
struct  FriendProfile
 云信好友 更多...
 
struct  FriendProfileSyncEvent
 云信好友变更事件(多端同步) 更多...
 
struct  FriendProfileUpdateEvent
 云信好友变更事件(更新) 更多...
 
struct  GetMessagesResult
 
class  Global
 NIM SDK提供的一些全局接口 更多...
 
struct  IMAudio
 语音消息附件 更多...
 
struct  IMBotRobot
 波特机器人消息附件 更多...
 
struct  IMFile
 文件消息附件 更多...
 
struct  IMImage
 图片消息附件 更多...
 
struct  IMLocation
 位置消息附件 更多...
 
struct  IMMessage
 
struct  IMMessageRobotInfo
 机器人消息信息 更多...
 
struct  IMMessageThreadInfo
 P2P和群组消息 更多...
 
struct  ImportDbCallbackUserData
 
struct  IMVideo
 小视频消息附件 更多...
 
struct  InitNosConfigParam
 初始化nos参数 更多...
 
struct  InitNosResult
 初始化结果 更多...
 
struct  IQChatAttachInterface
 
struct  KickOtherRes
 踢人结果回调信息 更多...
 
struct  KickoutRes
 被踢结果回调信息 更多...
 
struct  LoginParams
 
struct  LoginRes
 登录结果回调信息 更多...
 
class  LogsBackupExportInfo
 导出消息记录到云端参数定义 更多...
 
class  LogsBackupImportInfo
 从云端导入消息记录参数定义 更多...
 
struct  MatchCollectParm
 收藏匹配参数 更多...
 
class  Message
 圈组消息 更多...
 
struct  MessageSetting
 消息属性设置 更多...
 
struct  MessageStatusChanged
 发送消息已读回执 更多...
 
struct  MessageStatusChangedResult
 发送消息已读回执 更多...
 
struct  ModifyPinMessageParam
 修改、取消Pin Message参数定义 更多...
 
class  MsgLog
 NIM SDK提供的消息历史接口 更多...
 
struct  MultiSpotLoginRes
 多端登录回调信息 更多...
 
struct  MultiUnreadCountZeroInfo
 
struct  NetDetectCbInfo
 网络探测回调信息 更多...
 
class  NOS
 NIM SDK提供的NOS云存储服务接口 更多...
 
struct  OtherClientPres
 多端登陆客户端信息 更多...
 
class  PassThroughProxy
 
struct  PictureInfo
 文档传输的图片信息 更多...
 
struct  PinMessageInfo
 Pin消息属性 更多...
 
class  PluginIn
 NIM SDK 提供的plugin接入接口类 更多...
 
struct  ProgressData
 传输过程中的数据 更多...
 
class  QChat
 圈组客户端接口 更多...
 
struct  QChatAddChannelCategoryMemberRoleParam
 
struct  QChatAddChannelCategoryMemberRoleResp
 
struct  QChatAddChannelCategoryRoleParam
 
struct  QChatAddChannelCategoryRoleResp
 
struct  QChatAddChannelRoleParam
 
struct  QChatAddChannelRoleResp
 
struct  QChatAddMemberRoleParam
 
struct  QChatAddMemberRoleResp
 
struct  QChatAddMembersToServerRoleParam
 
struct  QChatAddMembersToServerRoleResp
 
struct  QChatApplyInfoData
 
struct  QChatAreMentionedMeMessagesParam
 
struct  QChatAreMentionedMeMessagesResp
 
struct  QChatAttachmentCustomTokenResp
 
struct  QChatAttachmentDownloadParam
 
struct  QChatAttachmentDownloadResp
 
struct  QChatAttachmentProgressResp
 
struct  QChatAttachmentRegCustomTokenCbParam
 
struct  QChatAttachmentRegDownloadCbParam
 
struct  QChatAttachmentRegProgressCbParam
 
struct  QChatAttachmentRegUploadCbParam
 
struct  QChatAttachmentStopDownloadParam
 
struct  QChatAttachmentStopUploadParam
 
struct  QChatAttachmentUploadParam
 
struct  QChatAttachmentUploadResp
 
struct  QChatAudioAttach
 
struct  QChatBaseResp
 
struct  QChatBeInvitedInfoData
 
struct  QChatBusinessAntiSpamInfo
 
struct  QChatChannelCategoryCreateParam
 
struct  QChatChannelCategoryCreateResp
 
struct  QChatChannelCategoryGetExistingWhiteBlackMembersParam
 
struct  QChatChannelCategoryGetExistingWhiteBlackMembersResp
 
struct  QChatChannelCategoryGetExistingWhiteBlackRolesParam
 
struct  QChatChannelCategoryGetExistingWhiteBlackRolesResp
 
struct  QChatChannelCategoryGetWhiteBlackMembersPageParam
 
struct  QChatChannelCategoryGetWhiteBlackMembersPageResp
 
struct  QChatChannelCategoryGetWhiteBlackRolesPageParam
 
struct  QChatChannelCategoryGetWhiteBlackRolesPageResp
 
struct  QChatChannelCategoryInfo
 
struct  QChatChannelCategoryMemberRoleInfo
 
struct  QChatChannelCategoryRemoveParam
 
struct  QChatChannelCategoryRoleInfo
 
struct  QChatChannelCategoryUpdateParam
 
struct  QChatChannelCategoryUpdateWhiteBlackMembersParam
 
struct  QChatChannelCategoryUpdateWhiteBlackRoleParam
 
struct  QChatChannelCreateParam
 
struct  QChatChannelCreateResp
 
struct  QChatChannelDeleteParam
 
struct  QChatChannelGetCategoriesByIDParam
 
struct  QChatChannelGetCategoriesByIDResp
 
struct  QChatChannelGetCategoriesPageParam
 
struct  QChatChannelGetCategoriesPageResp
 
struct  QChatChannelGetCategoryChannelsPageParam
 
struct  QChatChannelGetChannelsPageParam
 
struct  QChatChannelGetChannelsPageResp
 
struct  QChatChannelGetChannelsParam
 
struct  QChatChannelGetChannelsResp
 
struct  QChatChannelGetExistingWhiteBlackMembersParam
 
struct  QChatChannelGetExistingWhiteBlackMembersResp
 
struct  QChatChannelGetExistingWhiteBlackRolesParam
 
struct  QChatChannelGetExistingWhiteBlackRolesResp
 
struct  QChatChannelGetMembersPageParam
 
struct  QChatChannelGetRTCInfoParam
 
struct  QChatChannelGetRTCInfoResp
 
struct  QChatChannelGetRTCOnlineMembersParam
 
struct  QChatChannelGetRTCOnlineMembersResp
 
struct  QChatChannelGetWhiteBlackMembersPageParam
 
struct  QChatChannelGetWhiteBlackMembersPageResp
 
struct  QChatChannelGetWhiteBlackRolesPageParam
 
struct  QChatChannelGetWhiteBlackRolesPageResp
 
struct  QChatChannelInfo
 
struct  QChatChannelMemberSearchParam
 
struct  QChatChannelMemberSearchResp
 
struct  QChatChannelQueryUnreadInfoParam
 
struct  QChatChannelQueryUnreadInfoResp
 
struct  QChatChannelRegUnreadCbParam
 
struct  QChatChannelRoleInfo
 
struct  QChatChannelRTCAudioInfo
 
struct  QChatChannelRTCInfo
 
struct  QChatChannelRTCVideoInfo
 
struct  QChatChannelSearchPageParam
 
struct  QChatChannelSubscribeAsVisitorParam
 
struct  QChatChannelSubscribeAsVisitorResp
 
struct  QChatChannelSubscribeParam
 
struct  QChatChannelSubscribeResp
 
struct  QChatChannelUnreadResp
 
struct  QChatChannelUpdateCategoryInfoParam
 
struct  QChatChannelUpdateParam
 
struct  QChatChannelUpdateRTCInfoParam
 
struct  QChatChannelUpdateWhiteBlackMembersParam
 
struct  QChatChannelUpdateWhiteBlackRoleParam
 
struct  QChatCheckPermissionParam
 
struct  QChatCheckPermissionResp
 
struct  QChatCheckPermissionsParam
 
struct  QChatCheckPermissionsResp
 
struct  QChatCleanupParam
 
struct  QChatCreateServerRoleParam
 
struct  QChatCreateServerRoleResp
 
struct  QChatCustomTokenResp
 
struct  QChatDefaultAttach
 
struct  QChatDeleteMessageParam
 
struct  QChatDeleteServerRoleParam
 
struct  QChatDeleteTextCacheParam
 
struct  QChatEncryptionConfiguration
 
struct  QChatFCSConfiguration
 
struct  QChatFileAttach
 
struct  QChatGenerateInviteCodeInfoData
 
struct  QChatGetChannelCategoryMemberRolesPageParam
 
struct  QChatGetChannelCategoryMemberRolesPageResp
 
struct  QChatGetChannelCategoryRolesPageParam
 
struct  QChatGetChannelCategoryRolesPageResp
 
struct  QChatGetChannelRolesParam
 
struct  QChatGetChannelRolesResp
 
struct  QChatGetExistingAccidsInServerRoleParam
 
struct  QChatGetExistingAccidsOfMemberRolesParam
 
struct  QChatGetExistingAccidsOfMemberRolesResp
 
struct  QChatGetExistingChannelRolesByServerRoleIdsParam
 
struct  QChatGetExistingServerRolesByAccidsParam
 
struct  QChatGetExistingServerRolesByAccidsResp
 
struct  QChatGetLastMessagesParam
 
struct  QChatGetLastMessagesResp
 
struct  QChatGetMemberRolesParam
 
struct  QChatGetMemberRolesResp
 
struct  QChatGetMembersFromServerRoleParam
 
struct  QChatGetMembersFromServerRoleResp
 
struct  QChatGetMentionedMeMessagesParam
 
struct  QChatGetMessageHistoryByIdsParam
 
struct  QChatGetMessagesCacheParam
 
struct  QChatGetMessagesParam
 
struct  QChatGetMessagesResp
 
struct  QChatGetQuickCommentsParam
 
struct  QChatGetQuickCommentsResp
 
struct  QChatGetReferMessagesParam
 
struct  QChatGetRolesByAccidParam
 
struct  QChatGetRTCTokenParam
 
struct  QChatGetRTCTokenResp
 
struct  QChatGetServerRolesParam
 
struct  QChatGetServerRolesResp
 
struct  QChatGetTextCacheParam
 
struct  QChatGetTextCacheResp
 
struct  QChatGetThreadMessagesParam
 
struct  QChatGetThreadMessagesResp
 
struct  QChatGetThreadRootMessagesMetaParam
 
struct  QChatGetThreadRootMessagesMetaResp
 
struct  QChatImageAttach
 
struct  QChatInitParam
 
struct  QChatInsertOrReplaceTextCacheParam
 
struct  QChatInviteApplyRecord
 
struct  QChatInviteApplyRecordData
 
struct  QChatInviteInfoData
 
struct  QChatInviteUserInfo
 
struct  QChatJoinByInviteCodeInfoData
 
struct  QChatKickedResp
 
struct  QChatKickParam
 
struct  QChatKickResp
 
struct  QChatLocationAttach
 
struct  QChatLoginClientInfo
 
struct  QChatLoginParam
 
struct  QChatLoginResp
 
struct  QChatLoginStatusResp
 
struct  QChatLogoutParam
 
struct  QChatLogoutResp
 
struct  QChatMarkMessageReadParam
 
struct  QChatMarkMessageReadResp
 
struct  QChatMarkSystemNotificationsReadParam
 
struct  QChatMemberBanInfo
 
struct  QChatMemberInfo
 
struct  QChatMemberRoleInfo
 
struct  QChatMessage
 
struct  QChatMessageAntiSpamInfo
 
struct  QChatMessageCacheConfiguration
 
struct  QChatMessageSearchPageParam
 
struct  QChatMessageSearchPageResp
 
struct  QChatMessageSend
 
struct  QChatMessageThreadInfo
 
struct  QChatMessageUpdateContent
 
struct  QChatMessageUpdateInfo
 
struct  QChatMessageUpdateOpeInfo
 
struct  QChatMsgUpdatedResp
 
struct  QChatMultispotLoginResp
 
struct  QChatNotificationAttach
 
struct  QChatPageInfo
 
struct  QChatQuickCommentDetail
 
struct  QChatQuickCommentInfo
 
struct  QChatQuickCommentParam
 
struct  QChatRecvMsgResp
 
struct  QChatRecvSystemNotificationResp
 
struct  QChatRecvTypingEventResp
 
struct  QChatRegCustomTokenCbParam
 
struct  QChatRegKickedCbParam
 
struct  QChatRegLoginStatusCbParam
 
struct  QChatRegMsgUpdatedCbParam
 
struct  QChatRegMultispotLoginCbParam
 
struct  QChatRegRecvMsgCbParam
 
struct  QChatRegRecvSystemNotificationCbParam
 
struct  QChatRegRecvTypingEventCbParam
 
struct  QChatRegSystemNotificationUpdatedCbParam
 
struct  QChatRemoveChannelCategoryMemberRoleParam
 
struct  QChatRemoveChannelCategoryRoleParam
 
struct  QChatRemoveChannelRoleParam
 
struct  QChatRemoveMemberRoleParam
 
struct  QChatRemoveMembersFromServerRoleParam
 
struct  QChatReplyMessageParam
 
struct  QChatRevokeMessageParam
 
struct  QChatRoleInfoBase
 
struct  QChatRoleMemberInfo
 
struct  QChatSDKLogResp
 
struct  QChatSendMessageParam
 
struct  QChatSendMessageResp
 
struct  QChatSendSystemNotificationParam
 
struct  QChatSendSystemNotificationResp
 
struct  QChatSendTypingEventParam
 
struct  QChatSendTypingEventResp
 
struct  QChatServerAcceptApplyParam
 
struct  QChatServerAcceptInviteParam
 
struct  QChatServerApplyParam
 
struct  QChatServerApplyResp
 
struct  QChatServerBanMemberParam
 
struct  QChatServerCreateParam
 
struct  QChatServerCreateResp
 
struct  QChatServerDeleteParam
 
struct  QChatServerEnterAsVisitorParam
 
struct  QChatServerEnterAsVisitorResp
 
struct  QChatServerGenerateInviteCodeParam
 
struct  QChatServerGenerateInviteCodeResp
 QChatServerGenerateInviteCodeResp 更多...
 
struct  QChatServerGetBannedMembersPageParam
 
struct  QChatServerGetBannedMembersPageResp
 
struct  QChatServerGetInviteApplyRecordOfSelfParam
 
struct  QChatServerGetInviteApplyRecordOfServerParam
 
struct  QChatServerGetInviteApplyRecordOfServerResp
 
struct  QChatServerGetMembersPageParam
 
struct  QChatServerGetMembersPageResp
 
struct  QChatServerGetMembersParam
 
struct  QChatServerGetMembersResp
 
struct  QChatServerGetServersPageParam
 
struct  QChatServerGetServersPageResp
 
struct  QChatServerGetServersParam
 
struct  QChatServerGetServersResp
 
struct  QChatServerInfo
 
struct  QChatServerInviteParam
 
struct  QChatServerInviteResp
 
struct  QChatServerJoinByInviteCodeParam
 
struct  QChatServerKickParam
 
struct  QChatServerLeaveAsVisitorParam
 
struct  QChatServerLeaveAsVisitorResp
 
struct  QChatServerLeaveParam
 
struct  QChatServerMarkReadParam
 
struct  QChatServerMarkReadResp
 
struct  QChatServerMemberSearchParam
 
struct  QChatServerRegUnreadCbParam
 
struct  QChatServerRejectApplyParam
 
struct  QChatServerRejectInviteParam
 
struct  QChatServerRoleInfo
 
struct  QChatServerSearchPageParam
 
struct  QChatServerSubscribeAllChannelParam
 
struct  QChatServerSubscribeAllChannelResp
 
struct  QChatServerSubscribeAsVisitorParam
 
struct  QChatServerSubscribeAsVisitorResp
 
struct  QChatServerSubscribeParam
 
struct  QChatServerSubscribeResp
 
struct  QChatServerUnbanMemberParam
 
struct  QChatServerUnreadResp
 
struct  QChatServerUpdateMemberInfoParam
 
struct  QChatServerUpdateParam
 
struct  QChatSystemNotification
 
struct  QChatSystemNotificationDataBase
 
struct  QChatSystemNotificationDataChannelCategoryCreate
 
struct  QChatSystemNotificationDataChannelCategoryRemove
 
struct  QChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate
 
struct  QChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate
 
struct  QChatSystemNotificationDataChannelCreate
 
struct  QChatSystemNotificationDataChannelRolePermissionChange
 
struct  QChatSystemNotificationDataChannelUpdate
 
struct  QChatSystemNotificationDataChannelVisibilityChange
 
struct  QChatSystemNotificationDataChannelVisitorVisibilityChange
 
struct  QChatSystemNotificationDataMemberApplyAccept
 
struct  QChatSystemNotificationDataMemberApplyDone
 
struct  QChatSystemNotificationDataMemberInviteAccept
 
struct  QChatSystemNotificationDataMemberInviteDone
 
struct  QChatSystemNotificationDataMemberKick
 
struct  QChatSystemNotificationDataMemberLeave
 
struct  QChatSystemNotificationDataMemberRolePermissionChange
 
struct  QChatSystemNotificationDataMemberUpdate
 
struct  QChatSystemNotificationDataMyMemberInfoUpdated
 
struct  QChatSystemNotificationDataQuickCommentChanged
 
struct  QChatSystemNotificationDataServerApply
 
struct  QChatSystemNotificationDataServerApplyReject
 
struct  QChatSystemNotificationDataServerCreate
 
struct  QChatSystemNotificationDataServerEnterLeave
 
struct  QChatSystemNotificationDataServerInvite
 
struct  QChatSystemNotificationDataServerInviteReject
 
struct  QChatSystemNotificationDataServerJoinByInviteCode
 
struct  QChatSystemNotificationDataServerRoleAddMember
 
struct  QChatSystemNotificationDataServerRolePermissionChange
 
struct  QChatSystemNotificationDataServerUpdate
 
struct  QChatSystemNotificationDataWhiteBlackMembersUpdate
 
struct  QChatSystemNotificationDataWhiteBlackRoleUpdate
 
struct  QChatSystemNotificationUpdatedResp
 
struct  QChatTipsAttach
 
struct  QChatTypingEvent
 
struct  QChatUpdateChannelCategoryMemberRoleParam
 
struct  QChatUpdateChannelCategoryRoleParam
 
struct  QChatUpdateChannelRoleParam
 
struct  QChatUpdatedMyMemberInfo
 
struct  QChatUpdateMemberRoleParam
 
struct  QChatUpdateMessageParam
 
struct  QChatUpdateMessageResp
 
struct  QChatUpdateServerRoleParam
 
struct  QChatUpdateServerRolePrioritiesParam
 
struct  QChatUpdateServerRoleResp
 
struct  QChatUpdateSystemNotificationParam
 
struct  QChatUpdateSystemNotificationResp
 
struct  QChatVideoAttach
 
struct  QueryAllPinMessageResponse
 查询Pin Message应答参数定义 更多...
 
struct  QueryCollectsParm
 分页查询收藏列表参数 更多...
 
struct  QueryMsglogResult
 查询到消息历史结果 更多...
 
struct  QueryQuickCommentsParam
 查询快捷回复参数定义 更多...
 
struct  QueryQuickCommentsResponse
 查询快捷回复参数定义 更多...
 
struct  QuickCommentInfo
 快捷回复属性 更多...
 
struct  RecallMsgNotify
 消息撤回通知 更多...
 
struct  RemoveCollectsParm
 收藏内容参数 更多...
 
struct  RemoveQuickCommentParam
 删除快捷回复参数定义 更多...
 
class  Robot
 NIM SDK提供的Robot接口 更多...
 
struct  RobotInfo
 机器人信息 更多...
 
class  Role
 圈组身份组 更多...
 
class  Rts
 NIM Rts提供的相关接口 更多...
 
struct  RtsStartInfo
 点对点白板发起的参数信息 更多...
 
struct  SDKConfig
 SDK初始化参数 更多...
 
class  SDKInstance
 SDK库辅助类,提供加载/卸载SDK库以及获取接口的方法 更多...
 
struct  SendMessageArc
 发送消息回执 更多...
 
class  Server
 圈组服务器 更多...
 
class  Session
 会话列表管理功能,主要包括查询会话列表、删除会话列表等功能 更多...
 
struct  SessionData
 会话数据 更多...
 
struct  SessionDataList
 会话列表数据 更多...
 
class  SessionOnLineService
 
class  SessionOnLineServiceHelper
 
class  Signaling
 namespace nim 更多...
 
struct  SignalingAcceptParam
 接受邀请接口nim_signaling_accept的传入参数 更多...
 
struct  SignalingAcceptResParam
 接受邀请结果回调信息,在自动加入成功后返回有效 更多...
 
struct  SignalingCallExResParam
 
struct  SignalingCallParam
 呼叫接口nim_signaling_call的传入参数 更多...
 
struct  SignalingCallResParam
 呼叫结果回调信息 更多...
 
struct  SignalingCancelInviteParam
 取消邀请接口nim_signaling_cancel_invite的传入参数 更多...
 
struct  SignalingCancelInviteResParam
 取消邀请结果回调信息,暂时为空 更多...
 
struct  SignalingChannelDetailedinfo
 频道的详细信息,包含频道信息及成员列表 更多...
 
struct  SignalingChannelInfo
 频道属性 更多...
 
struct  SignalingCloseParam
 关闭频道接口nim_signaling_close的传入参数 更多...
 
struct  SignalingCloseResParam
 关闭频道结果回调信息 更多...
 
struct  SignalingControlParam
 控制通知接口nim_signaling_control的传入参数 更多...
 
struct  SignalingControlResParam
 控制通知结果回调信息,暂时为空 更多...
 
struct  SignalingCreateParam
 创建频道接口nim_signaling_create的传入参数 更多...
 
struct  SignalingCreateResParam
 创建频道结果回调信息 更多...
 
struct  SignalingInviteParam
 邀请接口nim_signaling_invite的传入参数 更多...
 
struct  SignalingInviteResParam
 邀请结果回调信息,暂时为空 更多...
 
struct  SignalingJoinAndAcceptParam
 
struct  SignalingJoinAndAcceptResParam
 
struct  SignalingJoinParam
 加入频道接口nim_signaling_query_channel_info的传入参数 更多...
 
struct  SignalingJoinResParam
 加入频道结果回调信息 更多...
 
struct  SignalingLeaveParam
 离开频道接口nim_signaling_leave的传入参数 更多...
 
struct  SignalingLeaveResParam
 离开频道结果回调信息,暂时为空 更多...
 
struct  SignalingMemberInfo
 成员属性 更多...
 
struct  SignalingNotifyInfo
 事件通知信息基类 更多...
 
struct  SignalingNotifyInfoAccept
 接收邀请事件通知信息,event_type_=kNIMSignalingEventTypeAccept 更多...
 
struct  SignalingNotifyInfoCancelInvite
 取消邀请事件通知信息,event_type_=kNIMSignalingEventTypeCancelInvite 更多...
 
struct  SignalingNotifyInfoClose
 频道关闭事件通知信息,event_type_=kNIMSignalingEventTypeClose 更多...
 
struct  SignalingNotifyInfoControl
 控制事件通知信息,event_type_=kNIMSignalingEventTypeCtrl 更多...
 
struct  SignalingNotifyInfoInvite
 邀请事件通知信息,event_type_=kNIMSignalingEventTypeInvite 更多...
 
struct  SignalingNotifyInfoJoin
 加入频道事件通知信息,event_type_=kNIMSignalingEventTypeJoin 更多...
 
struct  SignalingNotifyInfoLeave
 退出频道事件通知信息,event_type_=kNIMSignalingEventTypeLeave 更多...
 
struct  SignalingNotifyInfoReject
 拒绝邀请事件通知信息,event_type_=kNIMSignalingEventTypeReject 更多...
 
struct  SignalingPushInfo
 推送属性 更多...
 
struct  SignalingQueryChannelInfoParam
 查询频道接口nim_signaling_join的传入参数 更多...
 
struct  SignalingQueryChannelInfoResParam
 查询频道结果回调信息 更多...
 
struct  SignalingRejectParam
 拒绝接口nim_signaling_reject的传入参数 更多...
 
struct  SignalingRejectResParam
 拒绝邀请结果回调信息,暂时为空 更多...
 
struct  SignalingResParam
 独立信令操作回调参数基类 更多...
 
struct  SpecialRelationshipChangeEvent
 黑名单和静音名单变更通知 更多...
 
struct  StickTopSession
 
struct  StickTopSessionInfo
 会话数据 更多...
 
struct  StickTopSessionList
 
class  SubscribeEvent
 NIM 订阅事件相关接口 更多...
 
class  SuperTeam
 超大群组功能;主要包括查询群信息、查询群成员信息、加人、踢人等功能 更多...
 
struct  SuperTeamEvent
 群组事件通知 更多...
 
struct  SuperTeamInfo
 群组信息 更多...
 
struct  SuperTeamMemberKeywordSearchOption
 超大群群成员关键字搜索参数 更多...
 
struct  SuperTeamMemberProperty
 群组成员信息 更多...
 
struct  SuperTeamMemberRoleTypeSearchOption
 超大群群成员检索参数 更多...
 
struct  SuperTeamMemberSerachResult
 超大群群成员搜索结果 更多...
 
struct  SysMessage
 系统消息和自定义通知数据 更多...
 
struct  SysMessageSetting
 系统消息和自定义通知属性设置 更多...
 
class  SystemMsg
 系统消息接口;主要包括查询系统消息、删除系统消息等功能 更多...
 
class  SystemNotification
 圈组系统通知 更多...
 
class  Talk
 聊天功能,主要包括消息收发、消息撤回、消息回复(Thread 场景)等功能 更多...
 
class  TalkEx
 聊天功能;主要包括收藏、快捷回复、PinMessage、ThreadMessage、置顶会话 更多...
 
class  Team
 群组功能;主要包括查询群信息、查询群成员信息、加人、踢人等功能 更多...
 
struct  TeamEvent
 群组事件通知 更多...
 
struct  TeamInfo
 群组信息 更多...
 
struct  TeamMemberProperty
 群组成员信息 更多...
 
struct  TeamMemberRoleTypeSearchOption
 群成员检索参数 更多...
 
struct  TeamMemberSerachResult
 群成员搜索结果 更多...
 
class  Tool
 NIM SDK提供的一些工具接口,主要包括获取SDK里app account对应的app data目录,计算md5等 更多...
 
struct  UploadAttachementCallbacks
 
struct  UploadCallbackExUserData
 
struct  UploadCallbackUserData
 
class  UploadCallbackUserDataMaker
 
struct  UploadMediaResult
 上传完成的结果 更多...
 
class  User
 NIM SDK提供的用户相关接口 更多...
 
struct  UserNameCard
 云信用户名片 更多...
 
class  VChat
 

类型定义

typedef std::list< RobotInfoRobotInfos
 
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频道在线成员回调
 
using ChannelSubscribeAsVisitorCallback = std::function< void(const QChatChannelSubscribeAsVisitorResp &)>
 以游客身份订阅频道回调
 
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
 
using QChatGetMentionedMeMessagesResp = QChatMessageSearchPageResp
 
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 AreMentionedMeMessagesCallback = std::function< void(const QChatAreMentionedMeMessagesResp &)>
 查询消息是否 @ 当前用户回调
 
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 GetMentionedMeMessagesCallback = std::function< void(const QChatGetMentionedMeMessagesResp &)>
 查询未读消息中 @ 当前用户的消息回调
 
using GetTextCacheCallback = std::function< void(const QChatGetTextCacheResp &)>
 查询文本缓存回调
 
using QChatAddQuickCommentParam = QChatQuickCommentParam< kNIMQChatQuickCommentAdd, NIMQChatAddQuickCommentParam, NIMQChatAddQuickCommentResp >
 
using QChatRemoveQuickCommentParam = QChatQuickCommentParam< kNIMQChatQuickCommentRemove, NIMQChatRemoveQuickCommentParam, NIMQChatRemoveQuickCommentResp >
 
using QChatInsertOrReplaceTextCacheResp = QChatBaseResp
 
using QChatDeleteTextCacheResp = QChatBaseResp
 
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 ServerEnterAsVisitorCallback = std::function< void(const QChatServerEnterAsVisitorResp &)>
 以游客身份进入服务器回调
 
using ServerLeaveAsVisitorCallback = std::function< void(const QChatServerLeaveAsVisitorResp &)>
 以游客身份离开服务器回调
 
using ServerSubscribeAsVisitorCallback = std::function< void(const QChatServerSubscribeAsVisitorResp &)>
 以游客身份订阅服务器回调
 
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
 发送圈组正在输入事件回调
 

枚举

enum  SuperTeamQueryOrder { kSuperTeamQueryOrderDesc = 0 , kSuperTeamQueryOrderAsc = 1 }
 
enum  TeamQueryOrder { kTeamQueryOrderDesc = 0 , kTeamQueryOrderAsc = 1 }
 
enum  UserNameCardValueKey {
  kUserNameCardKeyNone = 0 , kUserNameCardKeyName = 1 , kUserNameCardKeyIconUrl = 1 << 1 , kUserNameCardKeyGender = 1 << 2 ,
  kUserNameCardKeyBirthday = 1 << 3 , kUserNameCardKeyMobile = 1 << 4 , kUserNameCardKeyEmail = 1 << 5 , kUserNameCardKeySignature = 1 << 6 ,
  kUserNameCardKeyEx = 1 << 7 , kUserNameCardKeyAll = (1 << 8) - 1
}
 

函数

static void CallbackLogin (const char *json_res, const void *callback)
 
static void CallbackRelginRequestToken (char **token, uint32_t *length, const char *json_res, const void *callback)
 
static void CallbackLogout (const char *json_res, const void *callback)
 
static void CallbackKickout (const char *json_res, const void *callback)
 
static void CallbackDisconnect (const char *json_res, const void *callback)
 
static void CallbackMutliSpotLogin (const char *json_res, const void *callback)
 
static void CallbackKickother (const char *json_res, const void *callback)
 
void CallbackGetServerCurrentTime (int rescode, bool calc_local, uint64_t time, const void *callback)
 
void UnregNIMCallback ()
 
static void CallbackSyncMultiportPushConfig (int rescode, const char *content, const char *json_extension, const void *user_data)
 
static void CallbackMultiportPushConfig (int rescode, const char *content, const char *json_extension, const void *user_data)
 
static void CallbackSyncComplete (nim::NIMDataSyncType sync_type, nim::NIMDataSyncStatus status, const char *json_attachment, const void *user_data)
 
static void CallbackNotify (int32_t code, const char *json_extension, const void *user_data)
 
static void CallbackDocInfo (int32_t code, const char *json_extension, const void *user_data)
 
static void CallbackDocInfos (int32_t code, const char *json_extension, const void *user_data)
 
static void CallbackFriendChange (NIMFriendChangeType type, const char *result_json, const char *json_extension, const void *user_data)
 
static void CallbackFriendOpt (int res_code, const char *json_extension, const void *user_data)
 
static void CallbackGetFriendsList (int res_code, const char *result_json, const char *json_extension, const void *user_data)
 
static void CallbackGetFriendProfile (const char *accid, const char *result_json, const char *json_extension, const void *user_data)
 
static void CallbackDetectProxy (bool connect, NIMProxyDetectStep step, const char *json_extension, const void *user_data)
 
static void CallbackException (NIMSDKException exception, const char *log, const void *user_data)
 
static void CallbackGetCachedFileInfo (const char *info, const void *user_data)
 
static void CallbackDeleteCachedFile (enum NIMResCode code, const void *user_data)
 
static void CallbackSDKFeedback (enum NIMResCode code, const void *user_data)
 
static void CallbackQueryMsg (int res_code, const char *id, nim::NIMSessionType to_type, const char *result, const char *json_extension, const void *callback)
 
static void CallbackGetMessages (int res_code, const char *id, nim::NIMSessionType to_type, const char *result, const char *json_extension, const void *callback)
 
static void CallbackModifyMultipleMsglog (int res_code, const char *uid, nim::NIMSessionType to_type, const char *json_extension, const void *callback)
 
static void CallbackModifySingleMsglog (int res_code, const char *msg_id, const char *json_extension, const void *user_data)
 
static void CallbackMsglogRes (int res_code, const char *json_extension, const void *user_data)
 
static void CallbackImportDBProgress (int64_t imported_count, int64_t total_count, const char *json_extension, const void *callback)
 
static void CallbackQueryMsgByID (int res_code, const char *msg_id, const char *msg, const char *json_extension, const void *callback)
 
static void CallbackMsgStatusChanged (int rescode, const char *result, const char *json_extent, const void *callback)
 
static void CallbackInitConfig (enum NIMNosInitConfigResultType rescode, const char *json_result, const char *json_extension, const void *user_data)
 
static void CallbackUpload (int res_code, const char *url, const char *json_extension, const void *user_data)
 
static void CallbackDownload (int res_code, const char *file_path, const char *call_id, const char *res_id, const char *json_extension, const void *user_data)
 
static void CallbackProgress (int64_t completed_size, int64_t total_size, const char *json_extension, const void *callback)
 
static void CallbackUploadEx (int res_code, const char *url, const char *json_extension, const void *user_data)
 
static void CallbackDownloadEx (int res_code, const char *file_path, const char *call_id, const char *res_id, const char *json_extension, const void *user_data)
 
static void CallbackProgressEx (int64_t completed_size, int64_t total_size, const char *json_extension, const void *callback)
 
static void CallbackSpeed (int64_t speed, const char *json_extension, const void *callback)
 
static void CallbackTransferInfo (int64_t actual_size, int64_t speed, const char *json_extension, const void *callback)
 
static void CallbackMediaDownloadResult (int res_code, const char *file_path, const char *call_id, const char *res_id, const char *json_extension, const void *user_data)
 
static void CallbackMediaUploadResult (int res_code, const char *url, const char *json_extension, const void *user_data)
 
static void CallbackSafeURLToOriginURLResult (int res_code, const char *origin_url, const void *user_data)
 
static void CallbackReceivedHttpMsg (const char *from_accid, const char *body, uint64_t timestamp, const void *user_data)
 
static void CallbackSendHttpRequest (int res_code, const char *headers, const char *body, const char *json_extension, const void *user_data)
 
static void CallbackRequestChatRoomEnter (int error_code, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackRequestQChatLinkAddress (int error_code, const char *link_address_json_array, const void *user_data)
 
static void CallbackRobotInfoChange (int rescode, NIMRobotInfoChangeType type, const char *res, const char *json_extension, const void *callback)
 
static void CallbackRobotQuery (int rescode, const char *res, const char *json_extension, const void *callback)
 
void StartChannelCallbackWrapper (int code, const char *session_id, int channel_type, const char *uid, const char *json_extension, const void *user_data)
 
void StartNotifyCallbackWrapper (const char *session_id, int channel_type, const char *uid, const char *json_extension, const void *user_data)
 
void CreateConfCallbackWrapper (int code, const char *json_extension, const void *user_data)
 
void JoinConfCallbackWrapper (int code, const char *session_id, const char *json_extension, const void *user_data)
 
void AckCallbackWrapper (int code, const char *session_id, int channel_type, bool accept, const char *json_extension, const void *user_data)
 
void AckNotifyCallbackWrapper (const char *session_id, int channel_type, bool accept, const char *uid, const char *json_extension, const void *user_data)
 
void SyncAckNotifyCallbackWrapper (const char *session_id, int channel_type, bool accept, const char *json_extension, const void *user_data)
 
void ConnectNotifyCallbackWrapper (const char *session_id, int channel_type, int code, const char *json_extension, const void *user_data)
 
void MemberNotifyCallbackWrapper (const char *session_id, int channel_type, int type, const char *uid, const char *json_extension, const void *user_data)
 
void HangupCallbackWrapper (int code, const char *session_id, const char *json_extension, const void *user_data)
 
void HangupNotifyCallbackWrapper (const char *session_id, const char *uid, const char *json_extension, const void *user_data)
 
void OptCallbackWrapper (int res_code, const char *session_id, int channel_type, const char *json_extension, const void *user_data)
 
void ControlCallbackWrapper (int code, const char *session_id, const char *info, const char *json_extension, const void *user_data)
 
void ControlNotifyCallbackWrapper (const char *session_id, const char *info, const char *uid, const char *json_extension, const void *user_data)
 
void RecDataCallbackWrapper (const char *session_id, int channel_type, const char *uid, const char *data, unsigned int size, const char *json_extension, const void *user_data)
 
static void CallbackQuerySession (int total_unread_count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackNotifySession (int rescode, const char *result, int total_unread_counts, const char *json_extension, const void *user_data)
 
static void CallbackSessionChange (int rescode, const char *result, int total_unread_counts, const char *json_extension, const void *user_data)
 
static int32_t CallbackBadgeCount (const char *json_extension, const void *user_data)
 
static void CallbackQuerySessionData (int rescode, const char *result, const void *user_data)
 
void FillSessionMainTagInfo (const std::string &session_id, nim::NIMSessionType to_type, SessionMainTagInfo &info)
 
template<typename TR >
static void OnOptCallback (int code, void *opt_res_param, const void *user_data)
 
static void OnNotifyCallback (const struct NIMSignalingNotifyInfo *notify_info, const void *user_data)
 
static void OnNotifyListCallback (const struct NIMSignalingNotifyInfo **info_list, int32_t size, const void *user_data)
 
static void OnChannelListCallback (const struct NIMSignalingChannelDetailedinfo *info_list, int32_t size, const void *user_data)
 
static void OnChannelInfoCallback (const struct NIMSignalingChannelDetailedinfo *detailed_info, const void *user_data)
 
static void CallbackPushEvent (int res_code, const char *event_info_json, const char *json_extension, const void *user_data)
 
static void CallbackBatchPushEvent (int res_code, const char *event_list_json, const char *json_extension, const void *user_data)
 
static void CallbackPublishEvent (int res_code, int event_type, const char *event_info_json, const char *json_extension, const void *user_data)
 
static void CallbackSubscribe (int res_code, int event_type, const char *faild_list_json, const char *json_extension, const void *user_data)
 
static void CallbackUnSubscribe (int res_code, int event_type, const char *faild_list_json, const char *json_extension, const void *user_data)
 
static void CallbackBatchUnSubscribe (int res_code, int event_type, const char *json_extension, const void *user_data)
 
static void CallbackQuerySubscribe (int res_code, int event_type, const char *subscribe_list_json, const char *json_extension, const void *user_data)
 
static void CallbackBatchQuerySubscribe (int res_code, int event_type, const char *subscribe_list_json, const char *json_extension, const void *user_data)
 
static void CallbackSuperTeamEvent (int res_code, int notification_id, const char *tid, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackSuperTeamChange (int res_code, int notification_id, const char *tid, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryMySuperTeams (int team_count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQuerySuperTeamMembers (int error_code, const char *tid, int member_count, bool include_user_info, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQuerySuperTeamMember (const char *tid, const char *id, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryAllMySuperTeamsInfo (int team_count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryMyAllMemberInfos (int count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQuerySuperTeamInfo (const char *tid, const char *result, const char *json_extension, const void *callback)
 
static void CallbackQueryMutedMemberList (int res_code, int count, const char *tid, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackSearchSuperTeamMember (const char *tid, const char *result, uint32_t offset, bool finished_, const void *callback)
 
static void CallbackSysmsgChange (const char *result, const char *json_extension, const void *callback)
 
static void CallbackSendCustomSysmsg (const char *result, const void *callback)
 
static void CallbackQuerySysmsg (int count, const char *result, const char *json_extension, const void *callback)
 
static void CallbackNotifySingleSysmsg (int res_code, int64_t msg_id, int unread_count, const char *json_extension, const void *callback)
 
static void CallbackNotifySysmsgRes (int res_code, int unread_count, const char *json_extension, const void *callback)
 
static void CallbackSendMsgAck (const char *result, const void *callback)
 
static void CallbackReceiveMsg (const char *content, const char *json_extension, const void *callback)
 
static void CallbackReceiveMessages (const char *content, const char *json_extension, const void *callback)
 
static void CallbackFileUploadProcess (int64_t uploaded_size, int64_t file_size, const char *json_extension, const void *callback)
 
static bool FilterTeamNotification (const char *content, const char *json_extension, const void *callback)
 
static void ReceiveRecallMsg (int rescode, const char *content, const char *json_extension, const void *callback)
 
static void CallbackRecallMsg (int rescode, const char *content, const char *json_extension, const void *callback)
 
static void CallbackReceiveBroadcastMsg (const char *content, const char *json_extension, const void *callback)
 
static void CallbackReceiveBroadcastMessages (const char *content, const char *json_extension, const void *callback)
 
static void CallbackTeamEvent (int res_code, int notification_id, const char *tid, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackTeamChange (int res_code, int notification_id, const char *tid, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryTeamMembersInvitor (int res_code, const char *tid, const char *result, const void *user_data)
 
static void CallbackQueryMyTeams (int team_count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryTeamMembers (const char *tid, int member_count, bool include_user_info, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryTeamMember (const char *tid, const char *id, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryAllMyTeamsInfo (int team_count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryMyAllMemberInfos (int count, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackQueryTeamInfo (const char *tid, const char *result, const char *json_extension, const void *callback)
 
static void CallbackUpdateTInfoLocal (const char *success_ids, const char *failure_ids, const void *user_data)
 
static void CallbackSearchTeamMember (const char *tid, const char *result, uint32_t offset, bool finished_, const void *callback)
 
static void CallbackQueryMembersOnline (int res_code, int count, const char *tid, const char *result, const char *json_extension, const void *user_data)
 
static void CallbackGetAudioText (int res_code, const char *text, const char *json_extension, const void *callback)
 
static void CallbackFilterClientAntispam (bool succedd, int ret, const char *text, const char *json_extension, const void *callback)
 
static void CallbackSetRelation (int res_code, const char *accid, bool opt, const char *json_extension, const void *callback)
 
static void CallbackGetBlackList (int res_code, const char *mute_black_list_json, const char *json_extension, const void *callback)
 
static void CallbackGetMuteList (int res_code, const char *mute_black_list_json, const char *json_extension, const void *callback)
 
static void CallbackGetUserNameCard (const char *result_json, const char *json_extension, const void *callback)
 
static void CallbackUpdateMyUserNameCard (int res_code, const char *json_extension, const void *callback)
 
static void CallbackSpecialRelationChange (NIMUserSpecialRelationshipChangeType type, const char *result_json, const char *json_extension, const void *callback)
 
static void CallbackUserNameCardChange (const char *result_json, const char *json_extension, const void *callback)
 
static void OnOptCallback (bool ret, int code, const char *json_extension, const void *user_data)
 
static void OnEffectOptCallback (int id, bool ret, int code, const char *json_extension, const void *user_data)
 
static void CallbackNetDetect (bool ret, int rescode, const char *json_params, const void *user_data)
 
static void mp4_record_opt_cb (bool ret, int code, const char *file, int64_t time, const char *json_extension, const void *user_data)
 
static void audio_record_opt_cb (bool ret, int code, const char *file, int64_t time, const char *json_extension, const void *user_data)
 
NIMVChatConnectStatus GetConnectStatus ()
 
static void OnOpt2Callback (int code, int64_t cannel_id, const char *json_extension, const void *user_data)
 
static void CallbackRemoteAudioData (uint64_t time, const char *data, unsigned int size, int channels, int rate, const char *json_extension, const void *user_data)
 
bool ParseOtherClientsPres (const nim_cpp_wrapper_util::Json::Value array_objs, std::list< OtherClientPres > &outs)
 
bool ParseDocTransInfo (const std::string &json, DocTransInfo &info)
 解析文档传输信息
 
int32_t ParseDocTransInfos (const std::string &json, std::list< DocTransInfo > &info_list)
 解析一组文档传输信息
 
bool ParseFriendsProfile (const std::string &friends_profile_json, std::list< FriendProfile > &profiles)
 解析(多)好友信息
 
bool ParseFriendProfile (const std::string &friend_profile_json, FriendProfile &profile)
 解析(单个)好友信息
 
void ParseFriendProfile (const nim_cpp_wrapper_util::Json::Value &friend_profile_json, FriendProfile &profile)
 解析(单个)好友信息
 
bool ParseRecallMsgNotify (const nim_cpp_wrapper_util::Json::Value &json_value, RecallMsgNotify &notify)
 
bool ParseRecallMsgNotify (const std::string json_value, RecallMsgNotify &notify)
 解析消息撤回通知
 
bool ParseRecallMsgNotify (const std::string &notify_json, std::list< RecallMsgNotify > &notifys)
 解析消息撤回通知
 
bool ParseSendMessageAck (const std::string &arc_json, SendMessageArc &arc)
 解析发送消息回执
 
bool ParseMsglogs (const std::string &msgs_json, QueryMsglogResult &res)
 解析查询到的消息历史结果
 
bool ParseUploadResult (const std::string &url, const std::string &json, UploadMediaResult &res)
 解析NOS上传结果
 
bool ParseDownloadResult (const std::string &file_path, const std::string &call_id, const std::string &res_id, DownloadMediaResult &res)
 解析NOS上传过程数据
 
bool ParseProgressData (const std::string &json, ProgressData &res)
 解析NOS上传过程数据
 
bool ParseRobotInfosStringToRobotInfos (const std::string &infos_json, RobotInfos &infos)
 解析机器人信息
 
bool ParseRobotInfoStringToRobotInfo (const std::string &info_json, RobotInfo &info)
 解析机器人信息
 
bool ParseSession (const std::string &session_json, SessionData &session)
 解析会话信息
 
void ParseSession (const nim_cpp_wrapper_util::Json::Value &session_json, SessionData &session)
 解析会话信息
 
bool ParseSessionList (const std::string &sessions_json, SessionDataList &session_list)
 解析会话列表信息
 
bool ParseStickTopSession (const std::string &session_json, StickTopSession &session)
 解析置顶会话信息
 
void ParseStickTopSession (const nim_cpp_wrapper_util::Json::Value &session_json, StickTopSession &session)
 解析置顶会话信息
 
bool ParseStickTopSessionList (const std::string &sessions_json, StickTopSessionList &stick_top_session_list)
 解析置顶会话列表信息
 
bool ParseEventData (const std::string &event_json, EventData &event_data)
 解析事件数据
 
bool ParseEventData (const nim_cpp_wrapper_util::Json::Value &values, EventData &event_data)
 解析事件数据
 
bool ParseEventDataList (const std::string &event_list_json, std::list< EventData > &event_data_list)
 解析批量事件数据
 
bool ParseEventSubscribeData (const nim_cpp_wrapper_util::Json::Value &values, EventSubscribeData &event_subscribe)
 解析事件订阅数据
 
bool ParseEventSubscribeDataList (const std::string &subscribe_list_json, std::list< EventSubscribeData > &event_subscribe_list)
 解析事件订阅数据列表
 
void ParseSuperTeamEvent (int rescode, const std::string &team_id, const NIMNotificationId notification_id, const std::string &team_event_json, SuperTeamEvent &team_event)
 解析群组事件通知
 
void ParseSuperTeamInfoJson (const nim_cpp_wrapper_util::Json::Value &team_info_json, SuperTeamInfo &team_info)
 解析群组信息
 
bool ParseSuperTeamInfoJson (const std::string &team_info_json, SuperTeamInfo &team_info)
 解析群组信息
 
bool ParseSuperTeamInfosJson (const std::string &team_infos_json, std::list< SuperTeamInfo > &team_infos)
 解析群组信息
 
void ParseSuperTeamMemberPropertyJson (const nim_cpp_wrapper_util::Json::Value &team_member_prop_json, SuperTeamMemberProperty &team_member_property)
 解析群成员信息
 
bool ParseSuperTeamMemberPropertyJson (const std::string &team_member_prop_json, SuperTeamMemberProperty &team_member_property)
 解析群成员信息
 
bool ParseSuperTeamMemberPropertysJson (const std::string &team_member_props_json, std::list< SuperTeamMemberProperty > &team_member_propertys)
 解析群成员信息
 
bool ParseSysMessage (const std::string &sysmsg_json, SysMessage &msg)
 解析系统消息或自定义通知
 
bool ParseSysMessages (const std::string &sysmsgs_json, std::list< SysMessage > &msgs, int *unread)
 解析系统消息或自定义通知
 
void ParseSysMessageContent (const nim_cpp_wrapper_util::Json::Value &content_json, SysMessage &msg)
 解析系统消息或自定义通知的内容
 
bool ParseMessage (const std::string &msg_json, IMMessage &message)
 解析消息
 
bool ParseReceiveMessage (const std::string &msg_json, IMMessage &message)
 解析消息
 
void ParseReceiveMessage (const nim_cpp_wrapper_util::Json::Value &msg_json_value, IMMessage &message)
 解析消息
 
void ParseMessage (const nim_cpp_wrapper_util::Json::Value &msg_json, IMMessage &message)
 解析消息
 
void ParseTeamEvent (int rescode, const std::string &team_id, const NIMNotificationId notification_id, const std::string &team_event_json, TeamEvent &team_event)
 解析群组事件通知
 
void ParseTeamInfoJson (const nim_cpp_wrapper_util::Json::Value &team_info_json, TeamInfo &team_info)
 解析群组信息
 
bool ParseTeamInfoJson (const std::string &team_info_json, TeamInfo &team_info)
 解析群组信息
 
bool ParseTeamInfosJson (const std::string &team_infos_json, std::list< TeamInfo > &team_infos)
 解析群组信息
 
void ParseTeamMemberPropertyJson (const nim_cpp_wrapper_util::Json::Value &team_member_prop_json, TeamMemberProperty &team_member_property)
 解析群成员信息
 
bool ParseTeamMemberPropertyJson (const std::string &team_member_prop_json, TeamMemberProperty &team_member_property)
 解析群成员信息
 
bool ParseTeamMemberPropertysJson (const std::string &team_member_props_json, std::list< TeamMemberProperty > &team_member_propertys)
 解析群成员信息
 
bool ParseNameCards (const std::string &namecards_json, std::list< UserNameCard > &namecards)
 解析用户名片
 
bool ParseNameCards (const nim_cpp_wrapper_util::Json::Value &namecards_json, std::list< UserNameCard > &namecards)
 解析用户名片
 
bool ParseNameCard (const std::string &namecard_json, UserNameCard &namecard)
 解析用户名片
 
void ParseNameCard (const nim_cpp_wrapper_util::Json::Value &namecard_json, UserNameCard &namecard)
 解析用户名片
 
bool ParseSpecialListInfo (const std::string &list_json, std::list< BlackMuteListInfo > &mute_black_list)
 解析黑名单/静音列表
 
template<typename CPP_TYPE , typename C_TYPE >
static std::shared_ptr< QChatSystemNotificationDataBaseMsgDataCPPToC (void *c_msg_data)
 
bool StrListToJsonString (const std::list< std::string > &list, std::string &out)
 将一个string类型的list组装成一个Json Array
 
bool StrListToJsonString (const std::vector< std::string > &list, std::string &out)
 将一个string类型的list组装成一个Json Array
 
bool JsonStrArrayToList (const nim_cpp_wrapper_util::Json::Value &array_str, std::list< std::string > &out)
 将一个string类型的Json Array解析成一个string类型的list
 
bool JsonStrArrayToList (const nim_cpp_wrapper_util::Json::Value &array_str, std::vector< std::string > &out)
 将一个string类型的Json Array解析成一个string类型的vector
 
bool JsonArrayStringToList (const std::string &array_str, std::list< std::string > &out)
 将一个string类型的Json Array解析成一个string类型的list
 
bool JsonArrayStringToList (const std::string &array_str, std::vector< std::string > &out)
 将一个string类型的Json Array解析成一个string类型的vector
 
bool ParseJsonValue (const std::string &content, nim_cpp_wrapper_util::Json::Value &values)
 解析JsonString
 
bool ParseJsonValue (const char *content, nim_cpp_wrapper_util::Json::Value &values)
 解析JsonString
 
std::string GetJsonStringWithNoStyled (const nim_cpp_wrapper_util::Json::Value &values)
 获得非格式化的Json string,传入SDK的json string格式要求为非格式化的,如果是格式化的json string可能会影响功能
 
nim_cpp_wrapper_util::Json::Value GetJsonValueFromJsonString (const std::string &json_string)
 解析JsonString
 
static void nim_print_unfound_func_name (const char *name)
 
static void unfound_function_holder ()
 

变量

SDKInstancenim_sdk_instance = nullptr
 
SDKConfig g_nim_sdk_config_
 
std::string g_app_token = ""
 
static Client::LoginCallback g_cb_relogin_ = nullptr
 
static Client::ReloginRequestTokenCallback g_cb_relogin_request_token_ = nullptr
 
static Client::RequestExtensionCallback g_cb_request_login_extension_ = nullptr
 
static Client::KickoutCallback g_cb_kickout_ = nullptr
 
static Client::DisconnectCallback g_cb_disconnect_ = nullptr
 
static Client::MultiSpotLoginCallback g_cb_multispot_login_ = nullptr
 
static Client::KickOtherCallback g_cb_kickother_ = nullptr
 
static Client::MultiportPushConfigCallback g_cb_sync_multiport_push_switch_ = nullptr
 
static DataSync::DataSyncCallback g_cb_data_sync_ = nullptr
 
static DocTrans::DocInfoCallbackg_notify_cb_pointer_ = nullptr
 
static Friend::FriendChangeCallback g_cb_friend_changed_ = nullptr
 
Global::SDKDBErrorCallback g_sdkdberror = nullptr
 
MsgLog::DeleteMsglogSelfNotifyCallback g_delete_msglog_self_notify_cb = nullptr
 
MsgLog::DeleteHistoryOnLineNotifyCallback g_delete_history_messages_notify_cb = nullptr
 
static MsgLog::MessageStatusChangedCallback g_cb_msg_status_changed_cb_ = nullptr
 
static NOS::DownloadMediaCallback g_cb_pointer = nullptr
 
static NOS::UploadMediaExCallback g_cb_upload_pointer = nullptr
 
static NOS::CustomTokenCallback g_cb_custom_token_pointer = nullptr
 
static PassThroughProxy::ReceivedHttpMsgCb g_cb_received_http_msg_ = nullptr
 
static Robot::RobotChangedCallback g_cb_changed_ = nullptr
 
static Rts::StartNotifyCallbackg_start_notify_cb_pointer = nullptr
 
static Rts::AckNotifyCallbackg_ack_notify_cb_pointer = nullptr
 
static Rts::SyncAckNotifyCallbackg_syncack_notify_cb_pointer = nullptr
 
static Rts::ConnectNotifyCallbackg_connect_notify_cb_pointer = nullptr
 
static Rts::MemberNotifyCallbackg_member_notify_cb_pointer = nullptr
 
static Rts::ControlNotifyCallbackg_control_notify_cb_pointer = nullptr
 
static Rts::HangupNotifyCallbackg_hangup_notify_cb_pointer = nullptr
 
static Rts::RecDataCallbackg_rec_data_cb_pointer = nullptr
 
static Session::ChangeCallback g_cb_session_changed_ = nullptr
 
static Session::BadgeCountCallback g_cb_badge_count_ = nullptr
 
Session::SetToStickTopSessionNotifyCallback g_set_to_stick_topsession_notify_callback_ = nullptr
 
Session::CancelStickTopSessionNotifyCallback g_cancel_stick_top_session_notify_callback_ = nullptr
 
Session::UpdateStickTopSessionNotifyCallback g_updatesticktopsessionnotifycallback_ = nullptr
 
SessionOnLineService::SessionChangedCallback g_session_changed_callback = nullptr
 
static Signaling::SignalingNotifyCallback g_cb_online_notify_pointer = nullptr
 
static Signaling::SignalingNotifyCallback g_cb_mutil_client_sync_notify_pointer = nullptr
 
static Signaling::SignalingNotifyListCallback g_cb_offline_notify_pointer = nullptr
 
static Signaling::SignalingChannelListCallback g_cb_channels_sync_pointer = nullptr
 
static Signaling::SignalingChannelCallback g_cb_members_sync_pointer = nullptr
 
static SubscribeEvent::PushEventCallback g_cb_push_event = nullptr
 
static SubscribeEvent::BatchPushEventCallback g_cb_batch_push_event = nullptr
 
static SuperTeam::SuperTeamEventCallback g_cb_super_team_event_ = nullptr
 
SystemMsg::ReceiveSysmsgCallback g_cb_receive_sysmsg_ = nullptr
 
static SystemMsg::SendCustomSysmsgCallback g_cb_send_custom_sysmsg_ = nullptr
 
static std::mutex g_upload_progress_cb_mutex
 
static std::map< std::string, Talk::FileUpPrgCallback * > g_upload_progress_cb_map
 
static Talk::SendMsgAckCallback g_cb_send_msg_ack_ = nullptr
 
static Talk::ReceiveMsgCallback g_cb_pointer = nullptr
 
static Talk::ReceiveMsgsCallback g_cb_msgs_pointer = nullptr
 
static Talk::TeamNotificationFilter g_team_notification_filter_ = nullptr
 
static Talk::MessageFilter g_message_filter_ = nullptr
 
static Talk::RecallMsgsCallback g_recall_msg_cb_ = nullptr
 
static Talk::ReceiveBroadcastMsgCallback g_cb_broadcast = nullptr
 
static Talk::ReceiveBroadcastMsgsCallback g_cb_broadcast_msgs = nullptr
 
TalkEx::PinMsg::AddPinMessageNotifyCallback g_add_pin_message_notify_cb = nullptr
 
TalkEx::PinMsg::UnPinMessageNotifyCallback g_unpin_message_notify_cb = nullptr
 
TalkEx::PinMsg::UpdatePinMessageNotifyCallback g_update_pin_message_notify_cb = nullptr
 
TalkEx::QuickComment::AddQuickCommentNotifyCallback g_add_qcnotify_callback = nullptr
 
TalkEx::QuickComment::RemoveQuickCommentNotifyCallback g_remove_qcnotify_callback = nullptr
 
static Team::TeamEventCallback g_cb_team_event_ = nullptr
 
static Tool::SDKLogCallback g_sdk_log_cb = nullptr
 
static Tool::CollectLogCallback g_collect_log_cb = nullptr
 
static User::SpecialRelationshipChangedCallback g_cb_relation_changed_ = nullptr
 
static User::UserNameCardChangedCallback g_cb_uinfo_changed_ = nullptr
 
static VChat::RemoteAudioDataCallback g_remote_audio_data_cb_ = nullptr
 
static const char * kDEFAULT_PRELOAD_IMAGE_NAME_TEMPLATE = "thumb_"
 
static const uint64_t kDefaultEncryptUnencryptedDBThreshold {512 * 1024}
 
static SDKLogCallback g_sdk_log_cb = 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

圈组

类型定义说明

◆ AreMentionedMeMessagesCallback

using nim::AreMentionedMeMessagesCallback = typedef std::function<void(const QChatAreMentionedMeMessagesResp&)>

查询消息是否 @ 当前用户回调

◆ AttachmentCustomTokenCallback

获取附件自定义token回调

◆ AttachmentDownloadCallback

typedef std::function<void(const QChatAttachmentDownloadResp&)> nim::AttachmentDownloadCallback

下载附件回调

◆ AttachmentProgressCallback

typedef std::function<void(const QChatAttachmentProgressResp&)> nim::AttachmentProgressCallback

上传/下载附件进度回调

◆ AttachmentUploadCallback

typedef std::function<void(const QChatAttachmentUploadResp&)> nim::AttachmentUploadCallback

上传附件回调

◆ ChannelCategoryCreateCallback

using nim::ChannelCategoryCreateCallback = typedef std::function<void(const QChatChannelCategoryCreateResp&)>

创建频道分组回调

◆ ChannelCategoryGetExistingWhiteBlackMembersCallback

批量查询频道分组白/黑名单成员

◆ ChannelCategoryGetExistingWhiteBlackRolesCallback

批量查询频道分组白/黑名单身份组

◆ ChannelCategoryGetWhiteBlackMembersPageCallback

分页查询频道分组白/黑名单成员

◆ ChannelCategoryGetWhiteBlackRolesPageCallback

分页查询频道分组白/黑名单身份组

◆ ChannelCategoryRemoveCallback

using nim::ChannelCategoryRemoveCallback = typedef std::function<void(const QChatChannelCategoryRemoveResp&)>

删除频道分组回调

◆ ChannelCategoryUpdateCallback

using nim::ChannelCategoryUpdateCallback = typedef std::function<void(const QChatChannelCategoryUpdateResp&)>

更新频道分组回调

◆ ChannelCategoryUpdateWhiteBlackMembersCallback

更新频道分组白/黑名单成员

◆ ChannelCategoryUpdateWhiteBlackRoleCallback

更新频道分组白/黑名单身份组

◆ ChannelCreateCallback

typedef std::function<void(const QChatChannelCreateResp&)> nim::ChannelCreateCallback

创建频道回调

◆ ChannelDeleteCallback

typedef std::function<void(const QChatChannelDeleteResp&)> nim::ChannelDeleteCallback

删除频道回调

◆ ChannelGetCategoriesByIDCallback

using nim::ChannelGetCategoriesByIDCallback = typedef std::function<void(const QChatChannelGetCategoriesByIDResp&)>

根据频道分组ID查询频道分组列表回调

◆ ChannelGetCategoriesPageCallback

using nim::ChannelGetCategoriesPageCallback = typedef std::function<void(const QChatChannelGetCategoriesPageResp&)>

分页查询频道分组回调

◆ ChannelGetCategoryChannelsPageCallback

分页查询指定频道分组中的频道

◆ ChannelGetMembersPageCallback

分页查询成员列表回调

◆ ChannelGetRTCInfoCallback

using nim::ChannelGetRTCInfoCallback = typedef std::function<void(const QChatChannelGetRTCInfoResp&)>

查询RTC频道参数回调

◆ ChannelGetRTCOnlineMembersCallback

查询RTC频道在线成员回调

◆ ChannelMemberSearchCallback

using nim::ChannelMemberSearchCallback = typedef std::function<void(const QChatChannelMemberSearchResp&)>

搜索频道成员回调

◆ ChannelQueryUnreadInfoCallback

查询未读消息数回调

◆ ChannelSearchPageCallback

搜索频道分页回调

◆ ChannelSubscribeAsVisitorCallback

以游客身份订阅频道回调

◆ ChannelSubscribeCallback

typedef std::function<void(const QChatChannelSubscribeResp&)> nim::ChannelSubscribeCallback

订阅回调

◆ ChannelUnreadCallback

typedef std::function<void(const QChatChannelUnreadResp&)> nim::ChannelUnreadCallback

未读信息回调

◆ ChannelUpdateCallback

typedef std::function<void(const QChatChannelUpdateResp&)> nim::ChannelUpdateCallback

更新频道回调

◆ ChannelUpdateCategoryInfoCallback

更新频道的分组信息回调

◆ ChannelUpdateRTCInfoCallback

using nim::ChannelUpdateRTCInfoCallback = typedef std::function<void(const QChatChannelUpdateRTCInfoResp&)>

修改RTC频道参数回调

◆ CustomTokenCallback

获取自定义token回调

◆ GetChannelsCallback

typedef std::function<void(const QChatChannelGetChannelsResp&)> nim::GetChannelsCallback

查询频道列表回调

◆ GetChannelsPageCallback

分页查询频道列表回调

◆ GetExistingWhiteBlackMembersCallback

查询已存在白/黑名单成员回调

◆ GetExistingWhiteBlackRolesCallback

查询已存在白/黑名单身份组回调

◆ GetLastMessagesCallback

typedef std::function<void(const QChatGetLastMessagesResp&)> nim::GetLastMessagesCallback

查询频道最后一条消息回调

◆ GetMentionedMeMessagesCallback

using nim::GetMentionedMeMessagesCallback = typedef std::function<void(const QChatGetMentionedMeMessagesResp&)>

查询未读消息中 @ 当前用户的消息回调

◆ GetMessageHistoryByIdsCallback

根据消息 ID 查询消息回调

◆ GetMessagesCacheCallback

本地获取消息回调

◆ GetMessagesCallback

typedef std::function<void(const QChatGetMessagesResp&)> nim::GetMessagesCallback

查询历史消息回调

◆ GetQuickCommentsCallback

using nim::GetQuickCommentsCallback = typedef std::function<void(const QChatGetQuickCommentsResp&)>

查询快捷回复回调

◆ GetReferMessagesCallback

获取关联消息回调

◆ GetRTCTokenCallback

using nim::GetRTCTokenCallback = typedef std::function<void(const QChatGetRTCTokenResp&)>

获取RTC频道token回调

◆ GetServersCallback

typedef std::function<void(const QChatServerGetServersResp&)> nim::GetServersCallback

查询服务器列表回调

◆ GetServersPageCallback

typedef std::function<void(const QChatServerGetServersPageResp&)> nim::GetServersPageCallback

查询服务器列表分页回调

◆ GetTextCacheCallback

using nim::GetTextCacheCallback = typedef std::function<void(const QChatGetTextCacheResp&)>

查询文本缓存回调

◆ GetThreadMessagesCallback

using nim::GetThreadMessagesCallback = typedef std::function<void(const QChatGetThreadMessagesResp&)>

查询Thread消息回调

◆ GetThreadRootMessagesMetaCallback

查询Thread消息元信息回调

◆ GetWhiteBlackMembersPageCallback

分页查询白/黑名单成员回调

◆ GetWhiteBlackRolesPageCallback

分页查询白/黑名单身份组回调

◆ KickCallback

typedef std::function<void(const QChatKickResp&)> nim::KickCallback

踢掉自己其他端回调

◆ KickedCallback

typedef std::function<void(const QChatKickedResp&)> nim::KickedCallback

被踢回调

◆ LoginCallback

typedef std::function<void(const QChatLoginResp&)> nim::LoginCallback

登录回调

◆ LoginStatusCallback

typedef std::function<void(const QChatLoginStatusResp&)> nim::LoginStatusCallback

被踢回调

◆ LogoutCallback

typedef std::function<void(const QChatLogoutResp&)> nim::LogoutCallback

登出回调

◆ MarkMessageReadCallback

typedef std::function<void(const QChatMarkMessageReadResp&)> nim::MarkMessageReadCallback

消息已读标记回调

◆ MarkReadSystemNotificationCallback

标记系统通知消息已读回调函数

◆ MessageSearchPageCallback

using nim::MessageSearchPageCallback = typedef std::function<void(const QChatMessageSearchPageResp&)>

消息分页搜索回调

◆ MsgUpdatedCallback

typedef std::function<void(const QChatMsgUpdatedResp&)> nim::MsgUpdatedCallback

消息更新回调

◆ MultispotLoginCallback

typedef std::function<void(const QChatMultispotLoginResp&)> nim::MultispotLoginCallback

多点登录回调

◆ QChatAddChannelCategoryMemberRoleCallback

◆ QChatAddChannelCategoryRoleCallback

◆ QChatAddChannelRoleCallback

using nim::QChatAddChannelRoleCallback = typedef std::function<void(const QChatAddChannelRoleResp&)>

◆ QChatAddMemberRoleCallback

using nim::QChatAddMemberRoleCallback = typedef std::function<void(const QChatAddMemberRoleResp&)>

◆ QChatAddMembersToServerRoleCallback

◆ QChatAddQuickCommentParam

◆ QChatAddQuickCommentResp

◆ QChatBaseCallback

typedef std::function<void(const QChatBaseResp&)> nim::QChatBaseCallback

通用回调模板

◆ QChatBatchUpdateServerRolePrioritiesCallback

◆ QChatChannelCategoryRemoveResp

◆ QChatChannelCategoryUpdateResp

◆ QChatChannelCategoryUpdateWhiteBlackMembersResp

◆ QChatChannelCategoryUpdateWhiteBlackRoleResp

◆ QChatChannelDeleteResp

◆ QChatChannelGetCategoryChannelsPageResp

◆ QChatChannelGetMembersPageResp

◆ QChatChannelSearchPageResp

◆ QChatChannelUpdateCategoryInfoResp

◆ QChatChannelUpdateResp

◆ QChatChannelUpdateRTCInfoResp

◆ QChatChannelUpdateWhiteBlackMembersResp

◆ QChatChannelUpdateWhiteBlackRoleResp

◆ QChatCheckPermissionCallback

using nim::QChatCheckPermissionCallback = typedef std::function<void(const QChatCheckPermissionResp&)>

◆ QChatCheckPermissionsCallback

using nim::QChatCheckPermissionsCallback = typedef std::function<void(const QChatCheckPermissionsResp&)>

◆ QChatCreateServerRoleCallback

using nim::QChatCreateServerRoleCallback = typedef std::function<void(const QChatCreateServerRoleResp&)>

◆ QChatDeleteServerRoleCallback

◆ QChatDeleteServerRoleResp

◆ QChatDeleteTextCacheResp

◆ QChatGetChannelCategoryMemberRolesPageCallback

◆ QChatGetChannelCategoryRolesPageCallback

◆ QChatGetChannelRolesCallback

using nim::QChatGetChannelRolesCallback = typedef std::function<void(const QChatGetChannelRolesResp&)>

◆ QChatGetExistingAccidsInServerRoleCallback

◆ QChatGetExistingAccidsInServerRoleResp

◆ QChatGetExistingAccidsOfMemberRolesCallback

◆ QChatGetExistingChannelRolesByServerRoleIdsResp

◆ QChatGetExistingRolesInChannelCallback

◆ QChatGetMemberRoleInChannelCallback

using nim::QChatGetMemberRoleInChannelCallback = typedef std::function<void(const QChatGetMemberRolesResp&)>

◆ QChatGetMembersFromServerRoleCallback

◆ QChatGetMentionedMeMessagesResp

◆ QChatGetMessageHistoryByIdsResp

◆ QChatGetMessagesCacheResp

◆ QChatGetReferMessagesResp

◆ QChatGetRolesByAccidResp

◆ QChatGetRolesByMemberIdCallback

using nim::QChatGetRolesByMemberIdCallback = typedef std::function<void(const QChatGetRolesByAccidResp&)>

◆ QChatGetRolesByMemberIdsCallback

◆ QChatGetServerRolesCallback

using nim::QChatGetServerRolesCallback = typedef std::function<void(const QChatGetServerRolesResp&)>

◆ QChatInsertOrReplaceTextCacheResp

◆ QChatMarkReadSystemNotificationResp

◆ QChatMarkSystemNotificationsReadResp

◆ QChatPermission

using nim::QChatPermission = typedef std::map<uint32_t, NIMQChatPermissionsOption>

◆ QChatRemoveChannelCategoryMemberRoleCallback

◆ QChatRemoveChannelCategoryMemberRoleResp

◆ QChatRemoveChannelCategoryRoleCallback

◆ QChatRemoveChannelCategoryRoleResp

◆ QChatRemoveChannelRoleCallback

◆ QChatRemoveChannelRoleResp

◆ QChatRemoveMemberRoleCallback

◆ QChatRemoveMemberRoleResp

◆ QChatRemoveMembersFromServerRoleCallback

◆ QChatRemoveMembersFromServerRoleResp

◆ QChatRemoveQuickCommentParam

◆ QChatRemoveQuickCommentResp

◆ QChatReplyMessageResp

◆ QChatServerAcceptApplyResp

◆ QChatServerAcceptInviteResp

◆ QChatServerBanMemberResp

◆ QChatServerDeleteResp

◆ QChatServerGetInviteApplyRecordOfSelfResp

◆ QChatServerJoinByInviteCodeResp

◆ QChatServerKickResp

◆ QChatServerLeaveResp

◆ QChatServerMemberSearchResp

◆ QChatServerRejectApplyResp

◆ QChatServerRejectInviteResp

◆ QChatServerSearchPageResp

◆ QChatServerUnbanMemberResp

◆ QChatServerUpdateMemberInfoResp

◆ QChatServerUpdateResp

◆ QChatSystemNotificationDataChannelCategoryUpdate

◆ QChatSystemNotificationDataServerRoleRemoveMember

◆ QChatUpdateChannelCategoryMemberRoleCallback

◆ QChatUpdateChannelCategoryMemberRoleResp

◆ QChatUpdateChannelCategoryRoleCallback

◆ QChatUpdateChannelCategoryRoleResp

◆ QChatUpdateChannelRoleCallback

using nim::QChatUpdateChannelRoleCallback = typedef std::function<void(const QChatUpdateChannelRoleResp&)>

◆ QChatUpdateChannelRoleResp

◆ QChatUpdateMemberRoleCallback

using nim::QChatUpdateMemberRoleCallback = typedef std::function<void(const QChatUpdateMemberRoleResp&)>

◆ QChatUpdateMemberRoleResp

◆ QChatUpdateServerRoleCallback

using nim::QChatUpdateServerRoleCallback = typedef std::function<void(const QChatUpdateServerRoleResp&)>

◆ QChatUpdateServerRolePrioritiesResp

◆ QuickCommentCallback

添加快捷回复回调

◆ RecvMsgCallback

typedef std::function<void(const QChatRecvMsgResp&)> nim::RecvMsgCallback

接收消息回调

◆ RecvSystemNotificationCallback

接收系统消息回调

◆ RecvTypingEventCallback

typedef std::function<void(const QChatRecvTypingEventResp&)> nim::RecvTypingEventCallback

接收圈组正在输入事件回调

◆ ReplyMessageCallback

using nim::ReplyMessageCallback = typedef std::function<void(const QChatReplyMessageResp&)>

回复消息回调

◆ RobotInfos

typedef std::list<RobotInfo> nim::RobotInfos

◆ SDKLogCallback

typedef std::function<void(const QChatSDKLogResp&)> nim::SDKLogCallback

SDK系统日志回调模板

◆ SendMsgCallback

typedef std::function<void(const QChatSendMessageResp&)> nim::SendMsgCallback

发送消息回调

◆ SendSystemNotificationCallback

发送系统消息回调

◆ SendTypingEventCallback

typedef std::function<void(const QChatSendTypingEventResp&)> nim::SendTypingEventCallback

发送圈组正在输入事件回调

◆ ServerAcceptApplyCallback

typedef std::function<void(const QChatServerAcceptApplyResp&)> nim::ServerAcceptApplyCallback

接受申请加入服务器回调

◆ ServerAcceptInviteCallback

typedef std::function<void(const QChatServerAcceptInviteResp&)> nim::ServerAcceptInviteCallback

接受邀请加入服务器回调

◆ ServerApplyCallback

typedef std::function<void(const QChatServerApplyResp&)> nim::ServerApplyCallback

申请加入服务器回调

◆ ServerBanMemberCallback

typedef std::function<void(const QChatServerBanMemberResp&)> nim::ServerBanMemberCallback

封禁成员回调

◆ ServerCreateCallback

typedef std::function<void(const QChatServerCreateResp&)> nim::ServerCreateCallback

创建服务器回调

◆ ServerEnterAsVisitorCallback

using nim::ServerEnterAsVisitorCallback = typedef std::function<void(const QChatServerEnterAsVisitorResp&)>

以游客身份进入服务器回调

◆ ServerGenerateInviteCodeCallback

using nim::ServerGenerateInviteCodeCallback = typedef std::function<void(const QChatServerGenerateInviteCodeResp&)>

生成邀请码回调

◆ ServerGetBannedMembersPageCallback

查询服务器成员封禁列表分页回调

◆ ServerGetInviteApplyRecordOfSelfCallback

查询自己的申请邀请记录回调

◆ ServerGetInviteApplyRecordOfServerCallback

查询服务器下的申请邀请记录回调

◆ ServerGetMembersCallback

typedef std::function<void(const QChatServerGetMembersResp&)> nim::ServerGetMembersCallback

查询服务器成员列表回调

◆ ServerGetMembersPageCallback

查询服务器成员列表分页回调

◆ ServerInviteCallback

typedef std::function<void(const QChatServerInviteResp&)> nim::ServerInviteCallback

邀请用户加入服务器回调

◆ ServerJoinByInviteCodeCallback

using nim::ServerJoinByInviteCodeCallback = typedef std::function<void(const QChatServerJoinByInviteCodeResp&)>

通过邀请码加入回调

◆ ServerKickCallback

typedef std::function<void(const QChatServerKickResp&)> nim::ServerKickCallback

踢出服务器回调

◆ ServerLeaveAsVisitorCallback

using nim::ServerLeaveAsVisitorCallback = typedef std::function<void(const QChatServerLeaveAsVisitorResp&)>

以游客身份离开服务器回调

◆ ServerLeaveCallback

typedef std::function<void(const QChatServerLeaveResp&)> nim::ServerLeaveCallback

离开服务器回调

◆ ServerMarkReadCallback

using nim::ServerMarkReadCallback = typedef std::function<void(const QChatServerMarkReadResp&)>

服务器标记已读

◆ ServerMemberSearchCallback

搜索服务器成员分页回调

◆ ServerRejectApplyCallback

typedef std::function<void(const QChatServerRejectApplyResp&)> nim::ServerRejectApplyCallback

拒绝申请加入服务器回调

◆ ServerRejectInviteCallback

typedef std::function<void(const QChatServerRejectInviteResp&)> nim::ServerRejectInviteCallback

拒绝邀请加入服务器回调

◆ ServerRemoveCallback

typedef std::function<void(const QChatServerDeleteResp&)> nim::ServerRemoveCallback

删除服务器回调

◆ ServerSearchPageCallback

搜索服务器分页回调

◆ ServerSubscribeAllChannelCallback

订阅所有频道

◆ ServerSubscribeAsVisitorCallback

using nim::ServerSubscribeAsVisitorCallback = typedef std::function<void(const QChatServerSubscribeAsVisitorResp&)>

以游客身份订阅服务器回调

◆ ServerSubscribeCallback

typedef std::function<void(const QChatServerSubscribeResp&)> nim::ServerSubscribeCallback

订阅回调

◆ ServerUnbanMemberCallback

typedef std::function<void(const QChatServerUnbanMemberResp&)> nim::ServerUnbanMemberCallback

解封成员回调

◆ ServerUnreadCallback

using nim::ServerUnreadCallback = typedef std::function<void(const QChatServerUnreadResp&)>

未读数回调

◆ ServerUpdateCallback

typedef std::function<void(const QChatServerUpdateResp&)> nim::ServerUpdateCallback

更新服务器回调

◆ ServerUpdateMemberInfoCallback

更新服务器成员信息回调

◆ SystemNotificationUpdatedCallback

消息更新回调

◆ UpdateMsgCallback

typedef std::function<void(const QChatUpdateMessageResp&)> nim::UpdateMsgCallback

更新消息回调

◆ UpdateSystemNotificationCallback

更新系统通知回调

◆ UpdateWhiteBlackMembersCallback

更新白/黑名单成员回调

◆ UpdateWhiteBlackRoleCallback

更新白/黑名单身份组回调

枚举类型说明

◆ SuperTeamQueryOrder

枚举值
kSuperTeamQueryOrderDesc 

按时间降序排列

kSuperTeamQueryOrderAsc 

按时间升序排列

◆ TeamQueryOrder

枚举值
kTeamQueryOrderDesc 

按时间降序排列

kTeamQueryOrderAsc 

按时间升序排列

◆ UserNameCardValueKey

枚举值
kUserNameCardKeyNone 

无内容

kUserNameCardKeyName 

昵称

kUserNameCardKeyIconUrl 

头像下载地址

kUserNameCardKeyGender 

性别

kUserNameCardKeyBirthday 

生日

kUserNameCardKeyMobile 

电话

kUserNameCardKeyEmail 

电子邮件

kUserNameCardKeySignature 

签名

kUserNameCardKeyEx 

扩展

kUserNameCardKeyAll 

全部内容都有

函数说明

◆ AckCallbackWrapper()

void nim::AckCallbackWrapper ( int  code,
const char *  session_id,
int  channel_type,
bool  accept,
const char *  json_extension,
const void *  user_data 
)

◆ AckNotifyCallbackWrapper()

void nim::AckNotifyCallbackWrapper ( const char *  session_id,
int  channel_type,
bool  accept,
const char *  uid,
const char *  json_extension,
const void *  user_data 
)

◆ audio_record_opt_cb()

static void nim::audio_record_opt_cb ( bool  ret,
int  code,
const char *  file,
int64_t  time,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackBadgeCount()

static int32_t nim::CallbackBadgeCount ( const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackBatchPushEvent()

static void nim::CallbackBatchPushEvent ( int  res_code,
const char *  event_list_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackBatchQuerySubscribe()

static void nim::CallbackBatchQuerySubscribe ( int  res_code,
int  event_type,
const char *  subscribe_list_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackBatchUnSubscribe()

static void nim::CallbackBatchUnSubscribe ( int  res_code,
int  event_type,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackDeleteCachedFile()

static void nim::CallbackDeleteCachedFile ( enum NIMResCode  code,
const void *  user_data 
)
static

◆ CallbackDetectProxy()

static void nim::CallbackDetectProxy ( bool  connect,
NIMProxyDetectStep  step,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackDisconnect()

static void nim::CallbackDisconnect ( const char *  json_res,
const void *  callback 
)
static

◆ CallbackDocInfo()

static void nim::CallbackDocInfo ( int32_t  code,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackDocInfos()

static void nim::CallbackDocInfos ( int32_t  code,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackDownload()

static void nim::CallbackDownload ( int  res_code,
const char *  file_path,
const char *  call_id,
const char *  res_id,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackDownloadEx()

static void nim::CallbackDownloadEx ( int  res_code,
const char *  file_path,
const char *  call_id,
const char *  res_id,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackException()

static void nim::CallbackException ( NIMSDKException  exception,
const char *  log,
const void *  user_data 
)
static

◆ CallbackFileUploadProcess()

static void nim::CallbackFileUploadProcess ( int64_t  uploaded_size,
int64_t  file_size,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackFilterClientAntispam()

static void nim::CallbackFilterClientAntispam ( bool  succedd,
int  ret,
const char *  text,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackFriendChange()

static void nim::CallbackFriendChange ( NIMFriendChangeType  type,
const char *  result_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackFriendOpt()

static void nim::CallbackFriendOpt ( int  res_code,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackGetAudioText()

static void nim::CallbackGetAudioText ( int  res_code,
const char *  text,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackGetBlackList()

static void nim::CallbackGetBlackList ( int  res_code,
const char *  mute_black_list_json,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackGetCachedFileInfo()

static void nim::CallbackGetCachedFileInfo ( const char *  info,
const void *  user_data 
)
static

◆ CallbackGetFriendProfile()

static void nim::CallbackGetFriendProfile ( const char *  accid,
const char *  result_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackGetFriendsList()

static void nim::CallbackGetFriendsList ( int  res_code,
const char *  result_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackGetMessages()

static void nim::CallbackGetMessages ( int  res_code,
const char *  id,
nim::NIMSessionType  to_type,
const char *  result,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackGetMuteList()

static void nim::CallbackGetMuteList ( int  res_code,
const char *  mute_black_list_json,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackGetServerCurrentTime()

void nim::CallbackGetServerCurrentTime ( int  rescode,
bool  calc_local,
uint64_t  time,
const void *  callback 
)

◆ CallbackGetUserNameCard()

static void nim::CallbackGetUserNameCard ( const char *  result_json,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackImportDBProgress()

static void nim::CallbackImportDBProgress ( int64_t  imported_count,
int64_t  total_count,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackInitConfig()

static void nim::CallbackInitConfig ( enum NIMNosInitConfigResultType  rescode,
const char *  json_result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackKickother()

static void nim::CallbackKickother ( const char *  json_res,
const void *  callback 
)
static

◆ CallbackKickout()

static void nim::CallbackKickout ( const char *  json_res,
const void *  callback 
)
static

◆ CallbackLogin()

static void nim::CallbackLogin ( const char *  json_res,
const void *  callback 
)
static

◆ CallbackLogout()

static void nim::CallbackLogout ( const char *  json_res,
const void *  callback 
)
static

◆ CallbackMediaDownloadResult()

static void nim::CallbackMediaDownloadResult ( int  res_code,
const char *  file_path,
const char *  call_id,
const char *  res_id,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackMediaUploadResult()

static void nim::CallbackMediaUploadResult ( int  res_code,
const char *  url,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackModifyMultipleMsglog()

static void nim::CallbackModifyMultipleMsglog ( int  res_code,
const char *  uid,
nim::NIMSessionType  to_type,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackModifySingleMsglog()

static void nim::CallbackModifySingleMsglog ( int  res_code,
const char *  msg_id,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackMsglogRes()

static void nim::CallbackMsglogRes ( int  res_code,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackMsgStatusChanged()

static void nim::CallbackMsgStatusChanged ( int  rescode,
const char *  result,
const char *  json_extent,
const void *  callback 
)
static

◆ CallbackMultiportPushConfig()

static void nim::CallbackMultiportPushConfig ( int  rescode,
const char *  content,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackMutliSpotLogin()

static void nim::CallbackMutliSpotLogin ( const char *  json_res,
const void *  callback 
)
static

◆ CallbackNetDetect()

static void nim::CallbackNetDetect ( bool  ret,
int  rescode,
const char *  json_params,
const void *  user_data 
)
static

◆ CallbackNotify()

static void nim::CallbackNotify ( int32_t  code,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackNotifySession()

static void nim::CallbackNotifySession ( int  rescode,
const char *  result,
int  total_unread_counts,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackNotifySingleSysmsg()

static void nim::CallbackNotifySingleSysmsg ( int  res_code,
int64_t  msg_id,
int  unread_count,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackNotifySysmsgRes()

static void nim::CallbackNotifySysmsgRes ( int  res_code,
int  unread_count,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackProgress()

static void nim::CallbackProgress ( int64_t  completed_size,
int64_t  total_size,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackProgressEx()

static void nim::CallbackProgressEx ( int64_t  completed_size,
int64_t  total_size,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackPublishEvent()

static void nim::CallbackPublishEvent ( int  res_code,
int  event_type,
const char *  event_info_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackPushEvent()

static void nim::CallbackPushEvent ( int  res_code,
const char *  event_info_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryAllMySuperTeamsInfo()

static void nim::CallbackQueryAllMySuperTeamsInfo ( int  team_count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryAllMyTeamsInfo()

static void nim::CallbackQueryAllMyTeamsInfo ( int  team_count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryMembersOnline()

static void nim::CallbackQueryMembersOnline ( int  res_code,
int  count,
const char *  tid,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryMsg()

static void nim::CallbackQueryMsg ( int  res_code,
const char *  id,
nim::NIMSessionType  to_type,
const char *  result,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackQueryMsgByID()

static void nim::CallbackQueryMsgByID ( int  res_code,
const char *  msg_id,
const char *  msg,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackQueryMutedMemberList()

static void nim::CallbackQueryMutedMemberList ( int  res_code,
int  count,
const char *  tid,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryMyAllMemberInfos() [1/2]

static void nim::CallbackQueryMyAllMemberInfos ( int  count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryMyAllMemberInfos() [2/2]

static void nim::CallbackQueryMyAllMemberInfos ( int  count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryMySuperTeams()

static void nim::CallbackQueryMySuperTeams ( int  team_count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryMyTeams()

static void nim::CallbackQueryMyTeams ( int  team_count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQuerySession()

static void nim::CallbackQuerySession ( int  total_unread_count,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQuerySessionData()

static void nim::CallbackQuerySessionData ( int  rescode,
const char *  result,
const void *  user_data 
)
static

◆ CallbackQuerySubscribe()

static void nim::CallbackQuerySubscribe ( int  res_code,
int  event_type,
const char *  subscribe_list_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQuerySuperTeamInfo()

static void nim::CallbackQuerySuperTeamInfo ( const char *  tid,
const char *  result,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackQuerySuperTeamMember()

static void nim::CallbackQuerySuperTeamMember ( const char *  tid,
const char *  id,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQuerySuperTeamMembers()

static void nim::CallbackQuerySuperTeamMembers ( int  error_code,
const char *  tid,
int  member_count,
bool  include_user_info,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQuerySysmsg()

static void nim::CallbackQuerySysmsg ( int  count,
const char *  result,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackQueryTeamInfo()

static void nim::CallbackQueryTeamInfo ( const char *  tid,
const char *  result,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackQueryTeamMember()

static void nim::CallbackQueryTeamMember ( const char *  tid,
const char *  id,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryTeamMembers()

static void nim::CallbackQueryTeamMembers ( const char *  tid,
int  member_count,
bool  include_user_info,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackQueryTeamMembersInvitor()

static void nim::CallbackQueryTeamMembersInvitor ( int  res_code,
const char *  tid,
const char *  result,
const void *  user_data 
)
static

◆ CallbackRecallMsg()

static void nim::CallbackRecallMsg ( int  rescode,
const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackReceiveBroadcastMessages()

static void nim::CallbackReceiveBroadcastMessages ( const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackReceiveBroadcastMsg()

static void nim::CallbackReceiveBroadcastMsg ( const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackReceivedHttpMsg()

static void nim::CallbackReceivedHttpMsg ( const char *  from_accid,
const char *  body,
uint64_t  timestamp,
const void *  user_data 
)
static

◆ CallbackReceiveMessages()

static void nim::CallbackReceiveMessages ( const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackReceiveMsg()

static void nim::CallbackReceiveMsg ( const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackRelginRequestToken()

static void nim::CallbackRelginRequestToken ( char **  token,
uint32_t *  length,
const char *  json_res,
const void *  callback 
)
static

◆ CallbackRemoteAudioData()

static void nim::CallbackRemoteAudioData ( uint64_t  time,
const char *  data,
unsigned int  size,
int  channels,
int  rate,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackRequestChatRoomEnter()

static void nim::CallbackRequestChatRoomEnter ( int  error_code,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackRequestQChatLinkAddress()

static void nim::CallbackRequestQChatLinkAddress ( int  error_code,
const char *  link_address_json_array,
const void *  user_data 
)
static

◆ CallbackRobotInfoChange()

static void nim::CallbackRobotInfoChange ( int  rescode,
NIMRobotInfoChangeType  type,
const char *  res,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackRobotQuery()

static void nim::CallbackRobotQuery ( int  rescode,
const char *  res,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackSafeURLToOriginURLResult()

static void nim::CallbackSafeURLToOriginURLResult ( int  res_code,
const char *  origin_url,
const void *  user_data 
)
static

◆ CallbackSDKFeedback()

static void nim::CallbackSDKFeedback ( enum NIMResCode  code,
const void *  user_data 
)
static

◆ CallbackSearchSuperTeamMember()

static void nim::CallbackSearchSuperTeamMember ( const char *  tid,
const char *  result,
uint32_t  offset,
bool  finished_,
const void *  callback 
)
static

◆ CallbackSearchTeamMember()

static void nim::CallbackSearchTeamMember ( const char *  tid,
const char *  result,
uint32_t  offset,
bool  finished_,
const void *  callback 
)
static

◆ CallbackSendCustomSysmsg()

static void nim::CallbackSendCustomSysmsg ( const char *  result,
const void *  callback 
)
static

◆ CallbackSendHttpRequest()

static void nim::CallbackSendHttpRequest ( int  res_code,
const char *  headers,
const char *  body,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackSendMsgAck()

static void nim::CallbackSendMsgAck ( const char *  result,
const void *  callback 
)
static

◆ CallbackSessionChange()

static void nim::CallbackSessionChange ( int  rescode,
const char *  result,
int  total_unread_counts,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackSetRelation()

static void nim::CallbackSetRelation ( int  res_code,
const char *  accid,
bool  opt,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackSpecialRelationChange()

static void nim::CallbackSpecialRelationChange ( NIMUserSpecialRelationshipChangeType  type,
const char *  result_json,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackSpeed()

static void nim::CallbackSpeed ( int64_t  speed,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackSubscribe()

static void nim::CallbackSubscribe ( int  res_code,
int  event_type,
const char *  faild_list_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackSuperTeamChange()

static void nim::CallbackSuperTeamChange ( int  res_code,
int  notification_id,
const char *  tid,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackSuperTeamEvent()

static void nim::CallbackSuperTeamEvent ( int  res_code,
int  notification_id,
const char *  tid,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackSyncComplete()

static void nim::CallbackSyncComplete ( nim::NIMDataSyncType  sync_type,
nim::NIMDataSyncStatus  status,
const char *  json_attachment,
const void *  user_data 
)
static

◆ CallbackSyncMultiportPushConfig()

static void nim::CallbackSyncMultiportPushConfig ( int  rescode,
const char *  content,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackSysmsgChange()

static void nim::CallbackSysmsgChange ( const char *  result,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackTeamChange()

static void nim::CallbackTeamChange ( int  res_code,
int  notification_id,
const char *  tid,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackTeamEvent()

static void nim::CallbackTeamEvent ( int  res_code,
int  notification_id,
const char *  tid,
const char *  result,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackTransferInfo()

static void nim::CallbackTransferInfo ( int64_t  actual_size,
int64_t  speed,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackUnSubscribe()

static void nim::CallbackUnSubscribe ( int  res_code,
int  event_type,
const char *  faild_list_json,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackUpdateMyUserNameCard()

static void nim::CallbackUpdateMyUserNameCard ( int  res_code,
const char *  json_extension,
const void *  callback 
)
static

◆ CallbackUpdateTInfoLocal()

static void nim::CallbackUpdateTInfoLocal ( const char *  success_ids,
const char *  failure_ids,
const void *  user_data 
)
static

◆ CallbackUpload()

static void nim::CallbackUpload ( int  res_code,
const char *  url,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackUploadEx()

static void nim::CallbackUploadEx ( int  res_code,
const char *  url,
const char *  json_extension,
const void *  user_data 
)
static

◆ CallbackUserNameCardChange()

static void nim::CallbackUserNameCardChange ( const char *  result_json,
const char *  json_extension,
const void *  callback 
)
static

◆ ConnectNotifyCallbackWrapper()

void nim::ConnectNotifyCallbackWrapper ( const char *  session_id,
int  channel_type,
int  code,
const char *  json_extension,
const void *  user_data 
)

◆ ControlCallbackWrapper()

void nim::ControlCallbackWrapper ( int  code,
const char *  session_id,
const char *  info,
const char *  json_extension,
const void *  user_data 
)

◆ ControlNotifyCallbackWrapper()

void nim::ControlNotifyCallbackWrapper ( const char *  session_id,
const char *  info,
const char *  uid,
const char *  json_extension,
const void *  user_data 
)

◆ CreateConfCallbackWrapper()

void nim::CreateConfCallbackWrapper ( int  code,
const char *  json_extension,
const void *  user_data 
)

◆ FillSessionMainTagInfo()

void nim::FillSessionMainTagInfo ( const std::string &  session_id,
nim::NIMSessionType  to_type,
SessionMainTagInfo info 
)

◆ FilterTeamNotification()

static bool nim::FilterTeamNotification ( const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ GetConnectStatus()

NIMVChatConnectStatus nim::GetConnectStatus ( )

◆ GetJsonStringWithNoStyled()

std::string nim::GetJsonStringWithNoStyled ( const nim_cpp_wrapper_util::Json::Value values)

获得非格式化的Json string,传入SDK的json string格式要求为非格式化的,如果是格式化的json string可能会影响功能

参数
[in]valuesJson Value
返回
std::string 非格式化的json string

◆ GetJsonValueFromJsonString()

nim_cpp_wrapper_util::Json::Value nim::GetJsonValueFromJsonString ( const std::string &  json_string)

解析JsonString

返回
JsonValue

◆ HangupCallbackWrapper()

void nim::HangupCallbackWrapper ( int  code,
const char *  session_id,
const char *  json_extension,
const void *  user_data 
)

◆ HangupNotifyCallbackWrapper()

void nim::HangupNotifyCallbackWrapper ( const char *  session_id,
const char *  uid,
const char *  json_extension,
const void *  user_data 
)

◆ JoinConfCallbackWrapper()

void nim::JoinConfCallbackWrapper ( int  code,
const char *  session_id,
const char *  json_extension,
const void *  user_data 
)

◆ JsonArrayStringToList() [1/2]

bool nim::JsonArrayStringToList ( const std::string &  array_str,
std::list< std::string > &  out 
)

将一个string类型的Json Array解析成一个string类型的list

参数
[in]array_strstring类型的Json Array
[out]outstring类型的list
返回
bool 解析成功 或失败

◆ JsonArrayStringToList() [2/2]

bool nim::JsonArrayStringToList ( const std::string &  array_str,
std::vector< std::string > &  out 
)

将一个string类型的Json Array解析成一个string类型的vector

参数
[in]array_strstring类型的Json Array
[out]outstring类型的vector
返回
bool 解析成功 或失败

◆ JsonStrArrayToList() [1/2]

bool nim::JsonStrArrayToList ( const nim_cpp_wrapper_util::Json::Value array_str,
std::list< std::string > &  out 
)

将一个string类型的Json Array解析成一个string类型的list

参数
[in]array_strstring类型的Json Array
[out]outstring类型的list
返回
bool 解析成功 或失败

◆ JsonStrArrayToList() [2/2]

bool nim::JsonStrArrayToList ( const nim_cpp_wrapper_util::Json::Value array_str,
std::vector< std::string > &  out 
)

将一个string类型的Json Array解析成一个string类型的vector

参数
[in]array_strstring类型的Json Array
[out]outstring类型的vector
返回
bool 解析成功 或失败

◆ MemberNotifyCallbackWrapper()

void nim::MemberNotifyCallbackWrapper ( const char *  session_id,
int  channel_type,
int  type,
const char *  uid,
const char *  json_extension,
const void *  user_data 
)

◆ mp4_record_opt_cb()

static void nim::mp4_record_opt_cb ( bool  ret,
int  code,
const char *  file,
int64_t  time,
const char *  json_extension,
const void *  user_data 
)
static

◆ MsgDataCPPToC()

template<typename CPP_TYPE , typename C_TYPE >
static std::shared_ptr< QChatSystemNotificationDataBase > nim::MsgDataCPPToC ( void *  c_msg_data)
static

◆ nim_print_unfound_func_name()

static void nim::nim_print_unfound_func_name ( const char *  name)
static

◆ OnChannelInfoCallback()

static void nim::OnChannelInfoCallback ( const struct NIMSignalingChannelDetailedinfo detailed_info,
const void *  user_data 
)
static

◆ OnChannelListCallback()

static void nim::OnChannelListCallback ( const struct NIMSignalingChannelDetailedinfo info_list,
int32_t  size,
const void *  user_data 
)
static

◆ OnEffectOptCallback()

static void nim::OnEffectOptCallback ( int  id,
bool  ret,
int  code,
const char *  json_extension,
const void *  user_data 
)
static

◆ OnNotifyCallback()

static void nim::OnNotifyCallback ( const struct NIMSignalingNotifyInfo notify_info,
const void *  user_data 
)
static

◆ OnNotifyListCallback()

static void nim::OnNotifyListCallback ( const struct NIMSignalingNotifyInfo **  info_list,
int32_t  size,
const void *  user_data 
)
static

◆ OnOpt2Callback()

static void nim::OnOpt2Callback ( int  code,
int64_t  cannel_id,
const char *  json_extension,
const void *  user_data 
)
static

◆ OnOptCallback() [1/2]

static void nim::OnOptCallback ( bool  ret,
int  code,
const char *  json_extension,
const void *  user_data 
)
static

◆ OnOptCallback() [2/2]

template<typename TR >
static void nim::OnOptCallback ( int  code,
void *  opt_res_param,
const void *  user_data 
)
static

◆ OptCallbackWrapper()

void nim::OptCallbackWrapper ( int  res_code,
const char *  session_id,
int  channel_type,
const char *  json_extension,
const void *  user_data 
)

◆ ParseDocTransInfo()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseDocTransInfo ( const std::string &  json,
DocTransInfo info 
)

解析文档传输信息

参数
[in]json文档传输信息(Json Value数据字符串)
[out]infos文档传输信息
返回
bool 解析成功 或失败

◆ ParseDocTransInfos()

NIM_SDK_CPPWRAPPER_DLL_API int32_t nim::ParseDocTransInfos ( const std::string &  json,
std::list< DocTransInfo > &  info_list 
)

解析一组文档传输信息

参数
[in]json文档传输信息(Json Value数据字符串)
[out]infos文档传输信息
返回
int32_t 服务器总条数

◆ ParseDownloadResult()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseDownloadResult ( const std::string &  file_path,
const std::string &  call_id,
const std::string &  res_id,
DownloadMediaResult res 
)

解析NOS上传过程数据

参数
[in]file_path下载文件地址
[in]call_id如果下载的是消息中的资源,则为消息所属的会话id,否则为空
[int]res_id 如果下载的是消息中的资源,则为消息id,否则为空
[in]jsonJson Value扩展数据
[out]res数据结构体
返回
bool 解析成功 或失败

◆ ParseEventData() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventData ( const nim_cpp_wrapper_util::Json::Value values,
EventData event_data 
)

解析事件数据

参数
[in]values事件数据(Json Value数据字符串)
[out]event_data事件数据
返回
bool 解析成功 或失败

◆ ParseEventData() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventData ( const std::string &  event_json,
EventData event_data 
)

解析事件数据

参数
[in]event_json事件数据(Json Value数据字符串)
[out]event_data事件数据
返回
bool 解析成功 或失败

◆ ParseEventDataList()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventDataList ( const std::string &  event_list_json,
std::list< EventData > &  event_data_list 
)

解析批量事件数据

参数
[in]event_list_json事件数据(Json Value数据字符串)
[out]event_data_list事件数据
返回
bool 解析成功 或失败

◆ ParseEventSubscribeData()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventSubscribeData ( const nim_cpp_wrapper_util::Json::Value values,
EventSubscribeData event_subscribe 
)

解析事件订阅数据

参数
[in]values事件订阅数据(Json Value数据)
[out]event_subscribe事件订阅数据
返回
bool 解析成功 或失败

◆ ParseEventSubscribeDataList()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventSubscribeDataList ( const std::string &  subscribe_list_json,
std::list< EventSubscribeData > &  event_subscribe_list 
)

解析事件订阅数据列表

参数
[in]subscribe_list_json事件订阅数据(Json Value数据字符串)
[out]event_subscribe_list事件订阅数据列表
返回
bool 解析成功 或失败

◆ ParseFriendProfile() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseFriendProfile ( const nim_cpp_wrapper_util::Json::Value friend_profile_json,
FriendProfile profile 
)

解析(单个)好友信息

参数
[in]friend_profile_json好友信息(Json Value数据)
[out]profile好友信息
返回
void

◆ ParseFriendProfile() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseFriendProfile ( const std::string &  friend_profile_json,
FriendProfile profile 
)

解析(单个)好友信息

参数
[in]friend_profile_json好友信息(Json Value字符串)
[out]profile好友信息
返回
bool 解析成功 或失败

◆ ParseFriendsProfile()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseFriendsProfile ( const std::string &  friends_profile_json,
std::list< FriendProfile > &  profiles 
)

解析(多)好友信息

参数
[in]friends_profile_json好友信息(Json Value数据字符串)
[out]profiles好友信息
返回
bool 解析成功 或失败

◆ ParseJsonValue() [1/2]

bool nim::ParseJsonValue ( const char *  content,
nim_cpp_wrapper_util::Json::Value values 
)

解析JsonString

参数
[in]contentJsonString
[out]valuesJsonValue
返回
bool 解析成功失败

◆ ParseJsonValue() [2/2]

bool nim::ParseJsonValue ( const std::string &  content,
nim_cpp_wrapper_util::Json::Value values 
)

解析JsonString

参数
[in]contentJsonString
[out]valuesJsonValue
返回
bool 解析成功失败

◆ ParseMessage() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseMessage ( const nim_cpp_wrapper_util::Json::Value msg_json,
IMMessage message 
)

解析消息

参数
[in]msg_json消息(Json Value数据)
[out]message消息
返回
void

◆ ParseMessage() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseMessage ( const std::string &  msg_json,
IMMessage message 
)

解析消息

参数
[in]msg_json消息(Json Value数据字符串)
[out]message消息
返回
bool 解析成功或失败

◆ ParseMsglogs()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseMsglogs ( const std::string &  msgs_json,
QueryMsglogResult res 
)

解析查询到的消息历史结果

参数
[in]msgs_json查询到的消息历史(Json Value数据字符串)
[out]res消息历史结果
返回
bool 解析成功 或失败

◆ ParseNameCard() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseNameCard ( const nim_cpp_wrapper_util::Json::Value namecard_json,
UserNameCard namecard 
)

解析用户名片

参数
[in]namecard_json用户名片(Json Value数据)
[out]namecard用户名片
返回
void

◆ ParseNameCard() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCard ( const std::string &  namecard_json,
UserNameCard namecard 
)

解析用户名片

参数
[in]namecard_json用户名片(Json Value数据字符串)
[out]namecard用户名片
返回
bool 解析成功或失败

◆ ParseNameCards() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCards ( const nim_cpp_wrapper_util::Json::Value namecards_json,
std::list< UserNameCard > &  namecards 
)

解析用户名片

参数
[in]namecards_json用户名片(json array)
[out]namecards用户名片
返回
bool 解析成功或失败

◆ ParseNameCards() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCards ( const std::string &  namecards_json,
std::list< UserNameCard > &  namecards 
)

解析用户名片

参数
[in]namecards_json用户名片(Json Value数据字符串)
[out]namecards用户名片
返回
bool 解析成功或失败

◆ ParseOtherClientsPres()

bool NIM_SDK_CPPWRAPPER_DLL_API nim::ParseOtherClientsPres ( const nim_cpp_wrapper_util::Json::Value  array_objs,
std::list< OtherClientPres > &  outs 
)

解析多端登录客户端信息

参数
[in]array_objs多端登录客户端信息(Json Value数据)
[out]outs多端登录客户端信息
返回
bool 解析成功 或失败

◆ ParseProgressData()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseProgressData ( const std::string &  json,
ProgressData res 
)

解析NOS上传过程数据

参数
[in]jsonJson Value扩展数据
[out]res数据结构体
返回
bool 解析成功 或失败

◆ ParseRecallMsgNotify() [1/3]

bool nim::ParseRecallMsgNotify ( const nim_cpp_wrapper_util::Json::Value json_value,
RecallMsgNotify notify 
)

◆ ParseRecallMsgNotify() [2/3]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRecallMsgNotify ( const std::string &  notify_json,
std::list< RecallMsgNotify > &  notifys 
)

解析消息撤回通知

参数
[in]notify_json消息撤回通知(Json Value数据字符串)
[out]notifys消息撤回通知
返回
bool 解析成功 或失败

◆ ParseRecallMsgNotify() [3/3]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRecallMsgNotify ( const std::string  json_value,
RecallMsgNotify notify 
)

解析消息撤回通知

参数
[in]json_value消息撤回通知json格式
[out]notify消息撤回通知
返回
bool 解析成功 或失败

◆ ParseReceiveMessage() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseReceiveMessage ( const nim_cpp_wrapper_util::Json::Value msg_json_value,
IMMessage message 
)

解析消息

参数
[in]msg_json_value消息
[out]message消息
返回
bool 解析成功或失败

◆ ParseReceiveMessage() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseReceiveMessage ( const std::string &  msg_json,
IMMessage message 
)

解析消息

参数
[in]msg_json消息(Json Value数据字符串)
[out]message消息
返回
bool 解析成功或失败

◆ ParseRobotInfosStringToRobotInfos()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRobotInfosStringToRobotInfos ( const std::string &  infos_json,
RobotInfos infos 
)

解析机器人信息

参数
[in]infos_json机器人信息(Json Value数据字符串)
[out]infos机器人信息
返回
bool 解析成功或失败

◆ ParseRobotInfoStringToRobotInfo()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRobotInfoStringToRobotInfo ( const std::string &  info_json,
RobotInfo info 
)

解析机器人信息

参数
[in]info_json机器人信息
[out]info机器人信息
返回
bool 解析成功或失败

◆ ParseSendMessageAck()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSendMessageAck ( const std::string &  arc_json,
SendMessageArc arc 
)

解析发送消息回执

参数
[in]arc_json发送消息回执(Json Value数据字符串)
[out]arc发送消息回执
返回
bool 解析成功 或失败

◆ ParseSession() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseSession ( const nim_cpp_wrapper_util::Json::Value session_json,
SessionData session 
)

解析会话信息

参数
[in]session_json会话信息(Json Value数据)
[out]session会话信息
返回
void

◆ ParseSession() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSession ( const std::string &  session_json,
SessionData session 
)

解析会话信息

参数
[in]session_json会话信息(Json Value数据字符串)
[out]session会话信息
返回
bool 解析成功 或失败

◆ ParseSessionList()

bool nim::SessionOnLineServiceHelper::ParseSessionList ( const std::string &  sessions_json,
SessionDataList session_list 
)

解析会话列表信息

解析查询会话列表结果

参数
[in]sessions_json会话列表信息(Json Value数据字符串)
[out]session_list会话信息
返回
bool 解析成功 或失败
参数
[in]sessions_json查询结果 (Json Value数据字符串)
[out]result会话信息
返回
bool 解析成功 或失败

◆ ParseSpecialListInfo()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSpecialListInfo ( const std::string &  list_json,
std::list< BlackMuteListInfo > &  mute_black_list 
)

解析黑名单/静音列表

参数
[in]list_json黑名单/静音列表(Json Value数据字符串)
[out]black_mute_list黑名单/静音列表
返回
bool 解析成功或失败

◆ ParseStickTopSession() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseStickTopSession ( const nim_cpp_wrapper_util::Json::Value session_json,
StickTopSession session 
)

解析置顶会话信息

参数
[in]session_json置顶会话信息(Json Value数据)
[out]session置顶会话信息
返回
void

◆ ParseStickTopSession() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseStickTopSession ( const std::string &  session_json,
StickTopSession session 
)

解析置顶会话信息

参数
[in]session_json置顶会话信息(Json Value数据字符串)
[out]session置顶会话信息
返回
bool 解析成功 或失败

◆ ParseStickTopSessionList()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseStickTopSessionList ( const std::string &  sessions_json,
StickTopSessionList stick_top_session_list 
)

解析置顶会话列表信息

参数
[in]sessions_json置顶会话列表信息(Json Value数据字符串)
[out]stick_top_session_list置顶会话信息
返回
bool 解析成功 或失败

◆ ParseSuperTeamEvent()

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseSuperTeamEvent ( int  rescode,
const std::string &  team_id,
const NIMNotificationId  notification_id,
const std::string &  team_event_json,
SuperTeamEvent team_event 
)

解析群组事件通知

参数
[in]rescode错误码
[in]team_id群组ID
[in]notification_id通知类型ID
[in]team_event_json通知内容(Json Value数据)
[out]team_event群组事件通知
返回
void

◆ ParseSuperTeamInfoJson() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseSuperTeamInfoJson ( const nim_cpp_wrapper_util::Json::Value team_info_json,
SuperTeamInfo team_info 
)

解析群组信息

参数
[in]team_info_json群组信息(Json Value数据)
[out]team_info群组信息
返回
void

◆ ParseSuperTeamInfoJson() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSuperTeamInfoJson ( const std::string &  team_info_json,
SuperTeamInfo team_info 
)

解析群组信息

参数
[in]team_info_json群组信息(Json Value数据字符串)
[out]team_info群组信息
返回
bool 解析成功或失败

◆ ParseSuperTeamInfosJson()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSuperTeamInfosJson ( const std::string &  team_infos_json,
std::list< SuperTeamInfo > &  team_infos 
)

解析群组信息

参数
[in]team_info_json群组信息(Json Value数据字符串)
[out]team_infos群组信息
返回
bool 解析成功或失败

◆ ParseSuperTeamMemberPropertyJson() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseSuperTeamMemberPropertyJson ( const nim_cpp_wrapper_util::Json::Value team_member_prop_json,
SuperTeamMemberProperty team_member_property 
)

解析群成员信息

参数
[in]team_member_prop_json群成员信息(Json Value数据)
[out]team_member_property群成员信息
返回
void

◆ ParseSuperTeamMemberPropertyJson() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSuperTeamMemberPropertyJson ( const std::string &  team_member_prop_json,
SuperTeamMemberProperty team_member_property 
)

解析群成员信息

参数
[in]team_member_prop_json群成员信息(Json Value数据字符串)
[out]team_member_property群成员信息
返回
bool 解析成功或失败

◆ ParseSuperTeamMemberPropertysJson()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSuperTeamMemberPropertysJson ( const std::string &  team_member_props_json,
std::list< SuperTeamMemberProperty > &  team_member_propertys 
)

解析群成员信息

参数
[in]team_member_props_json群成员信息(Json Value数据字符串)
[out]team_member_propertys群成员信息
返回
bool 解析成功或失败

◆ ParseSysMessage()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSysMessage ( const std::string &  sysmsg_json,
SysMessage msg 
)

解析系统消息或自定义通知

参数
[in]sysmsg_json系统消息或自定义通知(Json Value数据字符串)
[out]msg系统消息或自定义通知
返回
bool 解析成功或失败

◆ ParseSysMessageContent()

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseSysMessageContent ( const nim_cpp_wrapper_util::Json::Value content_json,
SysMessage msg 
)

解析系统消息或自定义通知的内容

参数
[in]content_json系统消息或自定义通知的内容(Json Value数据)
[out]msg系统消息或自定义通知
返回
void

◆ ParseSysMessages()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSysMessages ( const std::string &  sysmsgs_json,
std::list< SysMessage > &  msgs,
int *  unread 
)

解析系统消息或自定义通知

参数
[in]sysmsgs_json系统消息或自定义通知(Json Value数据字符串)
[out]msgs系统消息或自定义通知
[out]unread当前总计的未读数
返回
bool 解析成功或失败

◆ ParseTeamEvent()

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseTeamEvent ( int  rescode,
const std::string &  team_id,
const NIMNotificationId  notification_id,
const std::string &  team_event_json,
TeamEvent team_event 
)

解析群组事件通知

参数
[in]rescode错误码
[in]team_id群组ID
[in]notification_id通知类型ID
[in]team_event_json通知内容(Json Value数据)
[out]team_event群组事件通知
返回
void

◆ ParseTeamInfoJson() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseTeamInfoJson ( const nim_cpp_wrapper_util::Json::Value team_info_json,
TeamInfo team_info 
)

解析群组信息

参数
[in]team_info_json群组信息(Json Value数据)
[out]team_info群组信息
返回
void

◆ ParseTeamInfoJson() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseTeamInfoJson ( const std::string &  team_info_json,
TeamInfo team_info 
)

解析群组信息

参数
[in]team_info_json群组信息(Json Value数据字符串)
[out]team_info群组信息
返回
bool 解析成功或失败

◆ ParseTeamInfosJson()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseTeamInfosJson ( const std::string &  team_infos_json,
std::list< TeamInfo > &  team_infos 
)

解析群组信息

参数
[in]team_info_json群组信息(Json Value数据字符串)
[out]team_infos群组信息
返回
bool 解析成功或失败

◆ ParseTeamMemberPropertyJson() [1/2]

NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseTeamMemberPropertyJson ( const nim_cpp_wrapper_util::Json::Value team_member_prop_json,
TeamMemberProperty team_member_property 
)

解析群成员信息

参数
[in]team_member_prop_json群成员信息(Json Value数据)
[out]team_member_property群成员信息
返回
void

◆ ParseTeamMemberPropertyJson() [2/2]

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseTeamMemberPropertyJson ( const std::string &  team_member_prop_json,
TeamMemberProperty team_member_property 
)

解析群成员信息

参数
[in]team_member_prop_json群成员信息(Json Value数据字符串)
[out]team_member_property群成员信息
返回
bool 解析成功或失败

◆ ParseTeamMemberPropertysJson()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseTeamMemberPropertysJson ( const std::string &  team_member_props_json,
std::list< TeamMemberProperty > &  team_member_propertys 
)

解析群成员信息

参数
[in]team_member_props_json群成员信息(Json Value数据字符串)
[out]team_member_propertys群成员信息
返回
bool 解析成功或失败

◆ ParseUploadResult()

NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseUploadResult ( const std::string &  url,
const std::string &  json,
UploadMediaResult res 
)

解析NOS上传结果

参数
[in]url上传结果地址
[in]jsonJson Value扩展数据
[out]res结果结构体
返回
bool 解析成功 或失败

◆ RecDataCallbackWrapper()

void nim::RecDataCallbackWrapper ( const char *  session_id,
int  channel_type,
const char *  uid,
const char *  data,
unsigned int  size,
const char *  json_extension,
const void *  user_data 
)

◆ ReceiveRecallMsg()

static void nim::ReceiveRecallMsg ( int  rescode,
const char *  content,
const char *  json_extension,
const void *  callback 
)
static

◆ StartChannelCallbackWrapper()

void nim::StartChannelCallbackWrapper ( int  code,
const char *  session_id,
int  channel_type,
const char *  uid,
const char *  json_extension,
const void *  user_data 
)

◆ StartNotifyCallbackWrapper()

void nim::StartNotifyCallbackWrapper ( const char *  session_id,
int  channel_type,
const char *  uid,
const char *  json_extension,
const void *  user_data 
)

◆ StrListToJsonString() [1/2]

bool nim::StrListToJsonString ( const std::list< std::string > &  list,
std::string &  out 
)

将一个string类型的list组装成一个Json Array

参数
[in]liststring类型的list
[out]outJson Array
返回
bool 成功 或失败

◆ StrListToJsonString() [2/2]

bool nim::StrListToJsonString ( const std::vector< std::string > &  list,
std::string &  out 
)

将一个string类型的list组装成一个Json Array

参数
[in]liststring类型的vector
[out]outJson Array
返回
bool 成功 或失败

◆ SyncAckNotifyCallbackWrapper()

void nim::SyncAckNotifyCallbackWrapper ( const char *  session_id,
int  channel_type,
bool  accept,
const char *  json_extension,
const void *  user_data 
)

◆ unfound_function_holder()

static void nim::unfound_function_holder ( )
static

◆ UnregNIMCallback()

NIM_SDK_CPPWRAPPER_DLL_API void nim::UnregNIMCallback ( )

反注册NIM提供的所有回调

返回
void 无返回值

变量说明

◆ g_ack_notify_cb_pointer

Rts::AckNotifyCallback* nim::g_ack_notify_cb_pointer = nullptr
static

◆ g_add_pin_message_notify_cb

TalkEx::PinMsg::AddPinMessageNotifyCallback nim::g_add_pin_message_notify_cb = nullptr

◆ g_add_qcnotify_callback

TalkEx::QuickComment::AddQuickCommentNotifyCallback nim::g_add_qcnotify_callback = nullptr

◆ g_app_token

std::string nim::g_app_token = ""

◆ g_cancel_stick_top_session_notify_callback_

Session::CancelStickTopSessionNotifyCallback nim::g_cancel_stick_top_session_notify_callback_ = nullptr

◆ g_cb_badge_count_

Session::BadgeCountCallback nim::g_cb_badge_count_ = nullptr
static

◆ g_cb_batch_push_event

SubscribeEvent::BatchPushEventCallback nim::g_cb_batch_push_event = nullptr
static

◆ g_cb_broadcast

Talk::ReceiveBroadcastMsgCallback nim::g_cb_broadcast = nullptr
static

◆ g_cb_broadcast_msgs

Talk::ReceiveBroadcastMsgsCallback nim::g_cb_broadcast_msgs = nullptr
static

◆ g_cb_changed_

Robot::RobotChangedCallback nim::g_cb_changed_ = nullptr
static

◆ g_cb_channels_sync_pointer

Signaling::SignalingChannelListCallback nim::g_cb_channels_sync_pointer = nullptr
static

◆ g_cb_custom_token_pointer

NOS::CustomTokenCallback nim::g_cb_custom_token_pointer = nullptr
static

◆ g_cb_data_sync_

DataSync::DataSyncCallback nim::g_cb_data_sync_ = nullptr
static

◆ g_cb_disconnect_

Client::DisconnectCallback nim::g_cb_disconnect_ = nullptr
static

◆ g_cb_friend_changed_

Friend::FriendChangeCallback nim::g_cb_friend_changed_ = nullptr
static

◆ g_cb_kickother_

Client::KickOtherCallback nim::g_cb_kickother_ = nullptr
static

◆ g_cb_kickout_

Client::KickoutCallback nim::g_cb_kickout_ = nullptr
static

◆ g_cb_members_sync_pointer

Signaling::SignalingChannelCallback nim::g_cb_members_sync_pointer = nullptr
static

◆ g_cb_msg_status_changed_cb_

MsgLog::MessageStatusChangedCallback nim::g_cb_msg_status_changed_cb_ = nullptr
static

◆ g_cb_msgs_pointer

Talk::ReceiveMsgsCallback nim::g_cb_msgs_pointer = nullptr
static

◆ g_cb_multispot_login_

Client::MultiSpotLoginCallback nim::g_cb_multispot_login_ = nullptr
static

◆ g_cb_mutil_client_sync_notify_pointer

Signaling::SignalingNotifyCallback nim::g_cb_mutil_client_sync_notify_pointer = nullptr
static

◆ g_cb_offline_notify_pointer

Signaling::SignalingNotifyListCallback nim::g_cb_offline_notify_pointer = nullptr
static

◆ g_cb_online_notify_pointer

Signaling::SignalingNotifyCallback nim::g_cb_online_notify_pointer = nullptr
static

◆ g_cb_pointer [1/2]

NOS::DownloadMediaCallback nim::g_cb_pointer = nullptr
static

◆ g_cb_pointer [2/2]

Talk::ReceiveMsgCallback nim::g_cb_pointer = nullptr
static

◆ g_cb_push_event

SubscribeEvent::PushEventCallback nim::g_cb_push_event = nullptr
static

◆ g_cb_receive_sysmsg_

SystemMsg::ReceiveSysmsgCallback nim::g_cb_receive_sysmsg_ = nullptr

◆ g_cb_received_http_msg_

PassThroughProxy::ReceivedHttpMsgCb nim::g_cb_received_http_msg_ = nullptr
static

◆ g_cb_relation_changed_

User::SpecialRelationshipChangedCallback nim::g_cb_relation_changed_ = nullptr
static

◆ g_cb_relogin_

Client::LoginCallback nim::g_cb_relogin_ = nullptr
static

◆ g_cb_relogin_request_token_

Client::ReloginRequestTokenCallback nim::g_cb_relogin_request_token_ = nullptr
static

◆ g_cb_request_login_extension_

Client::RequestExtensionCallback nim::g_cb_request_login_extension_ = nullptr
static

◆ g_cb_send_custom_sysmsg_

SystemMsg::SendCustomSysmsgCallback nim::g_cb_send_custom_sysmsg_ = nullptr
static

◆ g_cb_send_msg_ack_

Talk::SendMsgAckCallback nim::g_cb_send_msg_ack_ = nullptr
static

◆ g_cb_session_changed_

Session::ChangeCallback nim::g_cb_session_changed_ = nullptr
static

◆ g_cb_super_team_event_

SuperTeam::SuperTeamEventCallback nim::g_cb_super_team_event_ = nullptr
static

◆ g_cb_sync_multiport_push_switch_

Client::MultiportPushConfigCallback nim::g_cb_sync_multiport_push_switch_ = nullptr
static

◆ g_cb_team_event_

Team::TeamEventCallback nim::g_cb_team_event_ = nullptr
static

◆ g_cb_uinfo_changed_

User::UserNameCardChangedCallback nim::g_cb_uinfo_changed_ = nullptr
static

◆ g_cb_upload_pointer

NOS::UploadMediaExCallback nim::g_cb_upload_pointer = nullptr
static

◆ g_collect_log_cb

Tool::CollectLogCallback nim::g_collect_log_cb = nullptr
static

◆ g_connect_notify_cb_pointer

Rts::ConnectNotifyCallback* nim::g_connect_notify_cb_pointer = nullptr
static

◆ g_control_notify_cb_pointer

Rts::ControlNotifyCallback* nim::g_control_notify_cb_pointer = nullptr
static

◆ g_delete_history_messages_notify_cb

MsgLog::DeleteHistoryOnLineNotifyCallback nim::g_delete_history_messages_notify_cb = nullptr

◆ g_delete_msglog_self_notify_cb

MsgLog::DeleteMsglogSelfNotifyCallback nim::g_delete_msglog_self_notify_cb = nullptr

◆ g_hangup_notify_cb_pointer

Rts::HangupNotifyCallback* nim::g_hangup_notify_cb_pointer = nullptr
static

◆ g_member_notify_cb_pointer

Rts::MemberNotifyCallback* nim::g_member_notify_cb_pointer = nullptr
static

◆ g_message_filter_

Talk::MessageFilter nim::g_message_filter_ = nullptr
static

◆ g_nim_sdk_config_

SDKConfig nim::g_nim_sdk_config_

◆ g_notify_cb_pointer_

DocTrans::DocInfoCallback* nim::g_notify_cb_pointer_ = nullptr
static

◆ g_rec_data_cb_pointer

Rts::RecDataCallback* nim::g_rec_data_cb_pointer = nullptr
static

◆ g_recall_msg_cb_

Talk::RecallMsgsCallback nim::g_recall_msg_cb_ = nullptr
static

◆ g_remote_audio_data_cb_

VChat::RemoteAudioDataCallback nim::g_remote_audio_data_cb_ = nullptr
static

◆ g_remove_qcnotify_callback

TalkEx::QuickComment::RemoveQuickCommentNotifyCallback nim::g_remove_qcnotify_callback = nullptr

◆ g_sdk_log_cb [1/2]

Tool::SDKLogCallback nim::g_sdk_log_cb = nullptr
static

◆ g_sdk_log_cb [2/2]

SDKLogCallback nim::g_sdk_log_cb = nullptr
static

◆ g_sdkdberror

Global::SDKDBErrorCallback nim::g_sdkdberror = nullptr

◆ g_session_changed_callback

SessionOnLineService::SessionChangedCallback nim::g_session_changed_callback = nullptr

◆ g_set_to_stick_topsession_notify_callback_

Session::SetToStickTopSessionNotifyCallback nim::g_set_to_stick_topsession_notify_callback_ = nullptr

◆ g_start_notify_cb_pointer

Rts::StartNotifyCallback* nim::g_start_notify_cb_pointer = nullptr
static

◆ g_syncack_notify_cb_pointer

Rts::SyncAckNotifyCallback* nim::g_syncack_notify_cb_pointer = nullptr
static

◆ g_team_notification_filter_

Talk::TeamNotificationFilter nim::g_team_notification_filter_ = nullptr
static

◆ g_unpin_message_notify_cb

TalkEx::PinMsg::UnPinMessageNotifyCallback nim::g_unpin_message_notify_cb = nullptr

◆ g_update_pin_message_notify_cb

TalkEx::PinMsg::UpdatePinMessageNotifyCallback nim::g_update_pin_message_notify_cb = nullptr

◆ g_updatesticktopsessionnotifycallback_

Session::UpdateStickTopSessionNotifyCallback nim::g_updatesticktopsessionnotifycallback_ = nullptr

◆ g_upload_progress_cb_map

std::map<std::string, Talk::FileUpPrgCallback*> nim::g_upload_progress_cb_map
static

◆ g_upload_progress_cb_mutex

std::mutex nim::g_upload_progress_cb_mutex
static

◆ kDEFAULT_PRELOAD_IMAGE_NAME_TEMPLATE

const char* nim::kDEFAULT_PRELOAD_IMAGE_NAME_TEMPLATE = "thumb_"
static

◆ kDefaultEncryptUnencryptedDBThreshold

const uint64_t nim::kDefaultEncryptUnencryptedDBThreshold {512 * 1024}
static

◆ kNIMQChatData

const char* nim::kNIMQChatData = "data"
static

◆ kNIMQChatDuration

const char* nim::kNIMQChatDuration = "dur"
static

◆ kNIMQChatExt

const char* nim::kNIMQChatExt = "ext"
static

◆ kNIMQChatFilePath

const char* nim::kNIMQChatFilePath = "file_path"
static

◆ kNIMQChatHeight

const char* nim::kNIMQChatHeight = "h"
static

◆ kNIMQChatID

const char* nim::kNIMQChatID = "id"
static

◆ kNIMQChatLatitude

const char* nim::kNIMQChatLatitude = "lat"
static

◆ kNIMQChatLongitude

const char* nim::kNIMQChatLongitude = "lng"
static

◆ kNIMQChatMD5

const char* nim::kNIMQChatMD5 = "md5"
static

◆ kNIMQChatName

const char* nim::kNIMQChatName = "name"
static

◆ kNIMQChatTitle

const char* nim::kNIMQChatTitle = "title"
static

◆ kNIMQChatType

const char* nim::kNIMQChatType = "type"
static

◆ kNIMQChatURL

const char* nim::kNIMQChatURL = "url"
static

◆ kNIMQChatWidth

const char* nim::kNIMQChatWidth = "w"
static

◆ msg_data_transform_map_

std::map<NIMQChatSystemNotificationType, std::function<std::shared_ptr<QChatSystemNotificationDataBase>(void*)> > nim::msg_data_transform_map_
static

◆ nim_sdk_instance

SDKInstance * nim::nim_sdk_instance = nullptr
extern