|
NIM PC Cross Platform SDK
|
namespace nim More...
Classes | |
| struct | AudioInfo |
| 语音信息,用于语音转文字 More... | |
| struct | BlackMuteListInfo |
| 黑名单 静音名单信息 More... | |
| struct | BroadcastMessage |
| class | CallbackProxy |
| class | Client |
| 全局管理功能;主要包括SDK初始化/清理、客户端登录/退出等功能 More... | |
| struct | CollectInfo |
| 收藏内容属性 More... | |
| struct | CollectInfoList |
| 收藏列表 More... | |
| class | DataSync |
| NIM SDK提供的数据同步相关接口 More... | |
| struct | DeleteFriendOption |
| 删除好有拓展选项 More... | |
| struct | DeleteMsglogSelfNotifyItemInfo |
| 单向删除消息记录回调参数 More... | |
| struct | DeleteMsglogSelfNotifyParam |
| 单向删除消息记录回调参数 More... | |
| class | DocTrans |
| NIM SDK提供的文档转换相关接口 More... | |
| struct | DocTransInfo |
| 文档传输信息 More... | |
| struct | DownloadCallbackExUserData |
| struct | DownloadCallbackUserData |
| struct | DownloadMediaResult |
| 下载完成的结果 More... | |
| struct | EventData |
| 事件数据 More... | |
| struct | EventOnlineClientType |
| 在线客户端类型,此结构体只用于在线状态事件的kNIMEventNimConfig字段 More... | |
| struct | EventSubscribeData |
| 事件订阅数据 More... | |
| class | Friend |
| NIM 好友相关接口 More... | |
| struct | FriendAddEvent |
| 云信好友变更事件(请求添加) More... | |
| struct | FriendChangeEvent |
| 云信好友变更事件 More... | |
| struct | FriendDelEvent |
| 云信好友变更事件(删除) More... | |
| struct | FriendProfile |
| 云信好友 More... | |
| struct | FriendProfileSyncEvent |
| 云信好友变更事件(多端同步) More... | |
| struct | FriendProfileUpdateEvent |
| 云信好友变更事件(更新) More... | |
| class | Global |
| NIM SDK提供的一些全局接口 More... | |
| struct | IMAudio |
| 语音消息附件 More... | |
| struct | IMBotRobot |
| 波特机器人消息附件 More... | |
| struct | IMFile |
| 文件消息附件 More... | |
| struct | IMImage |
| 图片消息附件 More... | |
| struct | IMLocation |
| 位置消息附件 More... | |
| struct | IMMessage |
| struct | IMMessageThreadInfo |
| P2P和群组消息 More... | |
| struct | ImportDbCallbackUserData |
| struct | IMVideo |
| 小视频消息附件 More... | |
| struct | InitNosConfigParam |
| 初始化nos参数 More... | |
| struct | InitNosResult |
| 初始化结果 More... | |
| struct | KickOtherRes |
| 踢人结果回调信息 More... | |
| struct | KickoutRes |
| 被踢结果回调信息 More... | |
| struct | LoginParams |
| struct | LoginRes |
| 登录结果回调信息 More... | |
| class | LogsBackupExportInfo |
| 导出消息记录到云端参数定义 More... | |
| class | LogsBackupImportInfo |
| 从云端导入消息记录参数定义 More... | |
| struct | MatchCollectParm |
| 收藏匹配参数 More... | |
| struct | MessageSetting |
| 消息属性设置 More... | |
| struct | MessageStatusChanged |
| 发送消息已读回执 More... | |
| struct | MessageStatusChangedResult |
| 发送消息已读回执 More... | |
| struct | ModifyPinMessageParam |
| 修改、取消Pin Message参数定义 More... | |
| class | MsgLog |
| NIM SDK提供的消息历史接口 More... | |
| struct | MultiSpotLoginRes |
| 多端登录回调信息 More... | |
| struct | MultiUnreadCountZeroInfo |
| struct | NetDetectCbInfo |
| 网络探测回调信息 More... | |
| class | NOS |
| NIM SDK提供的NOS云存储服务接口 More... | |
| struct | OtherClientPres |
| 多端登陆客户端信息 More... | |
| class | PassThroughProxy |
| struct | PictureInfo |
| 文档传输的图片信息 More... | |
| struct | PinMessageInfo |
| Pin消息属性 More... | |
| class | PluginIn |
| NIM SDK 提供的plugin接入接口类 More... | |
| struct | ProgressData |
| 传输过程中的数据 More... | |
| struct | QueryAllPinMessageResponse |
| 查询Pin Message应答参数定义 More... | |
| struct | QueryCollectsParm |
| 分页查询收藏列表参数 More... | |
| struct | QueryMsglogResult |
| 查询到消息历史结果 More... | |
| struct | QueryQuickCommentsParam |
| 查询快捷回复参数定义 More... | |
| struct | QueryQuickCommentsResponse |
| 查询快捷回复参数定义 More... | |
| struct | QuickCommentInfo |
| 快捷回复属性 More... | |
| struct | RecallMsgNotify |
| 消息撤回通知 More... | |
| struct | RemoveCollectsParm |
| 收藏内容参数 More... | |
| struct | RemoveQuickCommentParam |
| 删除快捷回复参数定义 More... | |
| class | Robot |
| NIM SDK提供的Robot接口 More... | |
| struct | RobotInfo |
| 机器人信息 More... | |
| class | Rts |
| NIM Rts提供的相关接口 More... | |
| struct | RtsStartInfo |
| 点对点白板发起的参数信息 More... | |
| struct | SDKConfig |
| SDK设置项 More... | |
| class | SDKInstance |
| SDK库辅助类,提供加载/卸载SDK库以及获取接口的方法 More... | |
| struct | SendMessageArc |
| 发送消息回执 More... | |
| class | Session |
| 会话列表管理功能;主要包括查询会话列表、删除会话列表等功能 More... | |
| struct | SessionData |
| 会话数据 More... | |
| struct | SessionDataList |
| 会话列表数据 More... | |
| class | SessionOnLineService |
| class | SessionOnLineServiceHelper |
| class | Signaling |
| namespace nim More... | |
| struct | SignalingAcceptParam |
| 接受邀请接口nim_signaling_accept的传入参数 More... | |
| struct | SignalingAcceptResParam |
| 接受邀请结果回调信息,在自动加入成功后返回有效 More... | |
| struct | SignalingCallExResParam |
| struct | SignalingCallParam |
| 呼叫接口nim_signaling_call的传入参数 More... | |
| struct | SignalingCallResParam |
| 呼叫结果回调信息 More... | |
| struct | SignalingCancelInviteParam |
| 取消邀请接口nim_signaling_cancel_invite的传入参数 More... | |
| struct | SignalingCancelInviteResParam |
| 取消邀请结果回调信息,暂时为空 More... | |
| struct | SignalingChannelDetailedinfo |
| 频道的详细信息,包含频道信息及成员列表 More... | |
| struct | SignalingChannelInfo |
| 频道属性 More... | |
| struct | SignalingCloseParam |
| 关闭频道接口nim_signaling_close的传入参数 More... | |
| struct | SignalingCloseResParam |
| 关闭频道结果回调信息 More... | |
| struct | SignalingControlParam |
| 控制通知接口nim_signaling_control的传入参数 More... | |
| struct | SignalingControlResParam |
| 控制通知结果回调信息,暂时为空 More... | |
| struct | SignalingCreateParam |
| 创建频道接口nim_signaling_create的传入参数 More... | |
| struct | SignalingCreateResParam |
| 创建频道结果回调信息 More... | |
| struct | SignalingInviteParam |
| 邀请接口nim_signaling_invite的传入参数 More... | |
| struct | SignalingInviteResParam |
| 邀请结果回调信息,暂时为空 More... | |
| struct | SignalingJoinAndAcceptParam |
| struct | SignalingJoinAndAcceptResParam |
| struct | SignalingJoinParam |
| 加入频道接口nim_signaling_query_channel_info的传入参数 More... | |
| struct | SignalingJoinResParam |
| 加入频道结果回调信息 More... | |
| struct | SignalingLeaveParam |
| 离开频道接口nim_signaling_leave的传入参数 More... | |
| struct | SignalingLeaveResParam |
| 离开频道结果回调信息,暂时为空 More... | |
| struct | SignalingMemberInfo |
| 成员属性 More... | |
| struct | SignalingNotifyInfo |
| 事件通知信息基类 More... | |
| struct | SignalingNotifyInfoAccept |
| 接收邀请事件通知信息,event_type_=kNIMSignalingEventTypeAccept More... | |
| struct | SignalingNotifyInfoCancelInvite |
| 取消邀请事件通知信息,event_type_=kNIMSignalingEventTypeCancelInvite More... | |
| struct | SignalingNotifyInfoClose |
| 频道关闭事件通知信息,event_type_=kNIMSignalingEventTypeClose More... | |
| struct | SignalingNotifyInfoControl |
| 控制事件通知信息,event_type_=kNIMSignalingEventTypeCtrl More... | |
| struct | SignalingNotifyInfoInvite |
| 邀请事件通知信息,event_type_=kNIMSignalingEventTypeInvite More... | |
| struct | SignalingNotifyInfoJoin |
| 加入频道事件通知信息,event_type_=kNIMSignalingEventTypeJoin More... | |
| struct | SignalingNotifyInfoLeave |
| 退出频道事件通知信息,event_type_=kNIMSignalingEventTypeLeave More... | |
| struct | SignalingNotifyInfoReject |
| 拒绝邀请事件通知信息,event_type_=kNIMSignalingEventTypeReject More... | |
| struct | SignalingPushInfo |
| 推送属性 More... | |
| struct | SignalingQueryChannelInfoParam |
| 查询频道接口nim_signaling_join的传入参数 More... | |
| struct | SignalingQueryChannelInfoResParam |
| 查询频道结果回调信息 More... | |
| struct | SignalingRejectParam |
| 拒绝接口nim_signaling_reject的传入参数 More... | |
| struct | SignalingRejectResParam |
| 拒绝邀请结果回调信息,暂时为空 More... | |
| struct | SignalingResParam |
| 独立信令操作回调参数基类 More... | |
| struct | SpecialRelationshipChangeEvent |
| 黑名单和静音名单变更通知 More... | |
| struct | StickTopSession |
| struct | StickTopSessionInfo |
| 会话数据 More... | |
| struct | StickTopSessionList |
| class | SubscribeEvent |
| NIM 订阅事件相关接口 More... | |
| class | SuperTeam |
| 超大群组功能;主要包括查询群信息、查询群成员信息、加人、踢人等功能 More... | |
| struct | SuperTeamEvent |
| 群组事件通知 More... | |
| struct | SuperTeamInfo |
| 群组信息 More... | |
| struct | SuperTeamMemberProperty |
| 群组成员信息 More... | |
| struct | SysMessage |
| 系统消息和自定义通知数据 More... | |
| struct | SysMessageSetting |
| 系统消息和自定义通知属性设置 More... | |
| class | SystemMsg |
| 系统消息接口;主要包括查询系统消息、删除系统消息等功能 More... | |
| class | Talk |
| 聊天功能;主要包括发送消息、接收消息等功能 More... | |
| class | TalkEx |
| 聊天功能;主要包括收藏、快捷回复、PinMessage、ThreadMessage、置顶会话 More... | |
| class | Team |
| 群组功能;主要包括查询群信息、查询群成员信息、加人、踢人等功能 More... | |
| struct | TeamEvent |
| 群组事件通知 More... | |
| struct | TeamInfo |
| 群组信息 More... | |
| struct | TeamMemberProperty |
| 群组成员信息 More... | |
| class | Tool |
| NIM SDK提供的一些工具接口,主要包括获取SDK里app account对应的app data目录,计算md5等 More... | |
| struct | UploadCallbackExUserData |
| struct | UploadCallbackUserData |
| class | UploadCallbackUserDataMaker |
| struct | UploadMediaResult |
| 上传完成的结果 More... | |
| class | User |
| NIM SDK提供的用户相关接口 More... | |
| struct | UserNameCard |
| 云信用户名片 More... | |
| class | VChat |
Typedefs | |
| typedef std::list< RobotInfo > | RobotInfos |
Enumerations | |
| 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 } |
Functions | |
| 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 | 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 | 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 | 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) |
| 解析文档传输信息 More... | |
| int32_t | ParseDocTransInfos (const std::string &json, std::list< DocTransInfo > &info_list) |
| 解析一组文档传输信息 More... | |
| bool | ParseFriendsProfile (const std::string &friends_profile_json, std::list< FriendProfile > &profiles) |
| 解析(多)好友信息 More... | |
| bool | ParseFriendProfile (const std::string &friend_profile_json, FriendProfile &profile) |
| 解析(单个)好友信息 More... | |
| void | ParseFriendProfile (const nim_cpp_wrapper_util::Json::Value &friend_profile_json, FriendProfile &profile) |
| 解析(单个)好友信息 More... | |
| bool | ParseRecallMsgNotify (const nim_cpp_wrapper_util::Json::Value &json_value, RecallMsgNotify ¬ify) |
| bool | ParseRecallMsgNotify (const std::string json_value, RecallMsgNotify ¬ify) |
| 解析消息撤回通知 More... | |
| bool | ParseRecallMsgNotify (const std::string ¬ify_json, std::list< RecallMsgNotify > ¬ifys) |
| 解析消息撤回通知 More... | |
| bool | ParseSendMessageAck (const std::string &arc_json, SendMessageArc &arc) |
| 解析发送消息回执 More... | |
| bool | ParseMsglogs (const std::string &msgs_json, QueryMsglogResult &res) |
| 解析查询到的消息历史结果 More... | |
| bool | ParseUploadResult (const std::string &url, const std::string &json, UploadMediaResult &res) |
| 解析NOS上传结果 More... | |
| bool | ParseDownloadResult (const std::string &file_path, const std::string &call_id, const std::string &res_id, DownloadMediaResult &res) |
| 解析NOS上传过程数据 More... | |
| bool | ParseProgressData (const std::string &json, ProgressData &res) |
| 解析NOS上传过程数据 More... | |
| bool | ParseRobotInfosStringToRobotInfos (const std::string &infos_json, RobotInfos &infos) |
| 解析机器人信息 More... | |
| bool | ParseRobotInfoStringToRobotInfo (const std::string &info_json, RobotInfo &info) |
| 解析机器人信息 More... | |
| bool | ParseSession (const std::string &session_json, SessionData &session) |
| 解析会话信息 More... | |
| void | ParseSession (const nim_cpp_wrapper_util::Json::Value &session_json, SessionData &session) |
| 解析会话信息 More... | |
| bool | ParseSessionList (const std::string &sessions_json, SessionDataList &session_list) |
| 解析会话列表信息 More... | |
| bool | ParseStickTopSession (const std::string &session_json, StickTopSession &session) |
| 解析置顶会话信息 More... | |
| void | ParseStickTopSession (const nim_cpp_wrapper_util::Json::Value &session_json, StickTopSession &session) |
| 解析置顶会话信息 More... | |
| bool | ParseStickTopSessionList (const std::string &sessions_json, StickTopSessionList &stick_top_session_list) |
| 解析置顶会话列表信息 More... | |
| bool | ParseEventData (const std::string &event_json, EventData &event_data) |
| 解析事件数据 More... | |
| bool | ParseEventData (const nim_cpp_wrapper_util::Json::Value &values, EventData &event_data) |
| 解析事件数据 More... | |
| bool | ParseEventDataList (const std::string &event_list_json, std::list< EventData > &event_data_list) |
| 解析批量事件数据 More... | |
| bool | ParseEventSubscribeData (const nim_cpp_wrapper_util::Json::Value &values, EventSubscribeData &event_subscribe) |
| 解析事件订阅数据 More... | |
| bool | ParseEventSubscribeDataList (const std::string &subscribe_list_json, std::list< EventSubscribeData > &event_subscribe_list) |
| 解析事件订阅数据列表 More... | |
| void | ParseSuperTeamEvent (int rescode, const std::string &team_id, const NIMNotificationId notification_id, const std::string &team_event_json, SuperTeamEvent &team_event) |
| 解析群组事件通知 More... | |
| void | ParseSuperTeamInfoJson (const nim_cpp_wrapper_util::Json::Value &team_info_json, SuperTeamInfo &team_info) |
| 解析群组信息 More... | |
| bool | ParseSuperTeamInfoJson (const std::string &team_info_json, SuperTeamInfo &team_info) |
| 解析群组信息 More... | |
| bool | ParseSuperTeamInfosJson (const std::string &team_infos_json, std::list< SuperTeamInfo > &team_infos) |
| 解析群组信息 More... | |
| void | ParseSuperTeamMemberPropertyJson (const nim_cpp_wrapper_util::Json::Value &team_member_prop_json, SuperTeamMemberProperty &team_member_property) |
| 解析群成员信息 More... | |
| bool | ParseSuperTeamMemberPropertyJson (const std::string &team_member_prop_json, SuperTeamMemberProperty &team_member_property) |
| 解析群成员信息 More... | |
| bool | ParseSuperTeamMemberPropertysJson (const std::string &team_member_props_json, std::list< SuperTeamMemberProperty > &team_member_propertys) |
| 解析群成员信息 More... | |
| bool | ParseSysMessage (const std::string &sysmsg_json, SysMessage &msg) |
| 解析系统消息或自定义通知 More... | |
| bool | ParseSysMessages (const std::string &sysmsgs_json, std::list< SysMessage > &msgs, int *unread) |
| 解析系统消息或自定义通知 More... | |
| void | ParseSysMessageContent (const nim_cpp_wrapper_util::Json::Value &content_json, SysMessage &msg) |
| 解析系统消息或自定义通知的内容 More... | |
| bool | ParseMessage (const std::string &msg_json, IMMessage &message) |
| 解析消息 More... | |
| bool | ParseReceiveMessage (const std::string &msg_json, IMMessage &message) |
| 解析消息 More... | |
| void | ParseReceiveMessage (const nim_cpp_wrapper_util::Json::Value &msg_json_value, IMMessage &message) |
| 解析消息 More... | |
| void | ParseMessage (const nim_cpp_wrapper_util::Json::Value &msg_json, IMMessage &message) |
| 解析消息 More... | |
| void | ParseTeamEvent (int rescode, const std::string &team_id, const NIMNotificationId notification_id, const std::string &team_event_json, TeamEvent &team_event) |
| 解析群组事件通知 More... | |
| void | ParseTeamInfoJson (const nim_cpp_wrapper_util::Json::Value &team_info_json, TeamInfo &team_info) |
| 解析群组信息 More... | |
| bool | ParseTeamInfoJson (const std::string &team_info_json, TeamInfo &team_info) |
| 解析群组信息 More... | |
| bool | ParseTeamInfosJson (const std::string &team_infos_json, std::list< TeamInfo > &team_infos) |
| 解析群组信息 More... | |
| void | ParseTeamMemberPropertyJson (const nim_cpp_wrapper_util::Json::Value &team_member_prop_json, TeamMemberProperty &team_member_property) |
| 解析群成员信息 More... | |
| bool | ParseTeamMemberPropertyJson (const std::string &team_member_prop_json, TeamMemberProperty &team_member_property) |
| 解析群成员信息 More... | |
| bool | ParseTeamMemberPropertysJson (const std::string &team_member_props_json, std::list< TeamMemberProperty > &team_member_propertys) |
| 解析群成员信息 More... | |
| bool | ParseNameCards (const std::string &namecards_json, std::list< UserNameCard > &namecards) |
| 解析用户名片 More... | |
| bool | ParseNameCards (const nim_cpp_wrapper_util::Json::Value &namecards_json, std::list< UserNameCard > &namecards) |
| 解析用户名片 More... | |
| bool | ParseNameCard (const std::string &namecard_json, UserNameCard &namecard) |
| 解析用户名片 More... | |
| void | ParseNameCard (const nim_cpp_wrapper_util::Json::Value &namecard_json, UserNameCard &namecard) |
| 解析用户名片 More... | |
| bool | ParseSpecialListInfo (const std::string &list_json, std::list< BlackMuteListInfo > &mute_black_list) |
| 解析黑名单/静音列表 More... | |
| bool | StrListToJsonString (const std::list< std::string > &list, std::string &out) |
| 将一个string类型的list组装成一个Json Array More... | |
| bool | StrListToJsonString (const std::vector< std::string > &list, std::string &out) |
| 将一个string类型的list组装成一个Json Array More... | |
| bool | JsonStrArrayToList (const nim_cpp_wrapper_util::Json::Value &array_str, std::list< std::string > &out) |
| 将一个string类型的Json Array解析成一个string类型的list More... | |
| bool | JsonStrArrayToList (const nim_cpp_wrapper_util::Json::Value &array_str, std::vector< std::string > &out) |
| 将一个string类型的Json Array解析成一个string类型的vector More... | |
| bool | JsonArrayStringToList (const std::string &array_str, std::list< std::string > &out) |
| 将一个string类型的Json Array解析成一个string类型的list More... | |
| bool | JsonArrayStringToList (const std::string &array_str, std::vector< std::string > &out) |
| 将一个string类型的Json Array解析成一个string类型的vector More... | |
| bool | ParseJsonValue (const std::string &content, nim_cpp_wrapper_util::Json::Value &values) |
| 解析JsonString More... | |
| bool | ParseJsonValue (const char *content, nim_cpp_wrapper_util::Json::Value &values) |
| 解析JsonString More... | |
| std::string | GetJsonStringWithNoStyled (const nim_cpp_wrapper_util::Json::Value &values) |
| 获得非格式化的Json string,传入SDK的json string格式要求为非格式化的,如果是格式化的json string可能会影响功能 More... | |
| nim_cpp_wrapper_util::Json::Value | GetJsonValueFromJsonString (const std::string &json_string) |
| 解析JsonString More... | |
| static void | nim_print_unfound_func_name (char *name) |
| static void | unfound_function_holder () |
Variables | |
| 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::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::DocInfoCallback * | g_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::StartNotifyCallback * | g_start_notify_cb_pointer = nullptr |
| static Rts::AckNotifyCallback * | g_ack_notify_cb_pointer = nullptr |
| static Rts::SyncAckNotifyCallback * | g_syncack_notify_cb_pointer = nullptr |
| static Rts::ConnectNotifyCallback * | g_connect_notify_cb_pointer = nullptr |
| static Rts::MemberNotifyCallback * | g_member_notify_cb_pointer = nullptr |
| static Rts::ControlNotifyCallback * | g_control_notify_cb_pointer = nullptr |
| static Rts::HangupNotifyCallback * | g_hangup_notify_cb_pointer = nullptr |
| static Rts::RecDataCallback * | g_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 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 |
| const std::string | kDEFAULT_PRELOAD_IMAGE_NAME_TEMPLATE = "thumb_" |
| nim::SDKInstance * | nim_sdk_instance = nullptr |
namespace nim
| std::string nim::GetJsonStringWithNoStyled | ( | const nim_cpp_wrapper_util::Json::Value & | values | ) |
获得非格式化的Json string,传入SDK的json string格式要求为非格式化的,如果是格式化的json string可能会影响功能
| [in] | values | Json Value |
| nim_cpp_wrapper_util::Json::Value nim::GetJsonValueFromJsonString | ( | const std::string & | json_string | ) |
解析JsonString
| bool nim::JsonArrayStringToList | ( | const std::string & | array_str, |
| std::list< std::string > & | out | ||
| ) |
将一个string类型的Json Array解析成一个string类型的list
| [in] | array_str | string类型的Json Array |
| [out] | out | string类型的list |
| bool nim::JsonArrayStringToList | ( | const std::string & | array_str, |
| std::vector< std::string > & | out | ||
| ) |
将一个string类型的Json Array解析成一个string类型的vector
| [in] | array_str | string类型的Json Array |
| [out] | out | string类型的vector |
| bool nim::JsonStrArrayToList | ( | const nim_cpp_wrapper_util::Json::Value & | array_str, |
| std::list< std::string > & | out | ||
| ) |
将一个string类型的Json Array解析成一个string类型的list
| [in] | array_str | string类型的Json Array |
| [out] | out | string类型的list |
| bool nim::JsonStrArrayToList | ( | const nim_cpp_wrapper_util::Json::Value & | array_str, |
| std::vector< std::string > & | out | ||
| ) |
将一个string类型的Json Array解析成一个string类型的vector
| [in] | array_str | string类型的Json Array |
| [out] | out | string类型的vector |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseDocTransInfo | ( | const std::string & | json, |
| DocTransInfo & | info | ||
| ) |
解析文档传输信息
| [in] | json | 文档传输信息(Json Value数据字符串) |
| [out] | infos | 文档传输信息 |
| NIM_SDK_CPPWRAPPER_DLL_API int32_t nim::ParseDocTransInfos | ( | const std::string & | json, |
| std::list< DocTransInfo > & | info_list | ||
| ) |
解析一组文档传输信息
| [in] | json | 文档传输信息(Json Value数据字符串) |
| [out] | infos | 文档传输信息 |
| 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] | json | Json Value扩展数据 |
| [out] | res | 数据结构体 |
| 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 | 事件数据 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseEventData | ( | const std::string & | event_json, |
| EventData & | event_data | ||
| ) |
解析事件数据
| [in] | event_json | 事件数据(Json Value数据字符串) |
| [out] | event_data | 事件数据 |
| 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 | 事件数据 |
| 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 | 事件订阅数据 |
| 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 | 事件订阅数据列表 |
| 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 | 好友信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseFriendProfile | ( | const std::string & | friend_profile_json, |
| FriendProfile & | profile | ||
| ) |
解析(单个)好友信息
| [in] | friend_profile_json | 好友信息(Json Value字符串) |
| [out] | profile | 好友信息 |
| 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 nim::ParseJsonValue | ( | const char * | content, |
| nim_cpp_wrapper_util::Json::Value & | values | ||
| ) |
解析JsonString
| [in] | content | JsonString |
| [out] | values | JsonValue |
| bool nim::ParseJsonValue | ( | const std::string & | content, |
| nim_cpp_wrapper_util::Json::Value & | values | ||
| ) |
解析JsonString
| [in] | content | JsonString |
| [out] | values | JsonValue |
| 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 | 消息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseMessage | ( | const std::string & | msg_json, |
| IMMessage & | message | ||
| ) |
解析消息
| [in] | msg_json | 消息(Json Value数据字符串) |
| [out] | message | 消息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseMsglogs | ( | const std::string & | msgs_json, |
| QueryMsglogResult & | res | ||
| ) |
解析查询到的消息历史结果
| [in] | msgs_json | 查询到的消息历史(Json Value数据字符串) |
| [out] | res | 消息历史结果 |
| 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 | 用户名片 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseNameCard | ( | const std::string & | namecard_json, |
| UserNameCard & | namecard | ||
| ) |
解析用户名片
| [in] | namecard_json | 用户名片(Json Value数据字符串) |
| [out] | namecard | 用户名片 |
| 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 | 用户名片 |
| 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 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 | 多端登录客户端信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseProgressData | ( | const std::string & | json, |
| ProgressData & | res | ||
| ) |
解析NOS上传过程数据
| [in] | json | Json Value扩展数据 |
| [out] | res | 数据结构体 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRecallMsgNotify | ( | const std::string & | notify_json, |
| std::list< RecallMsgNotify > & | notifys | ||
| ) |
解析消息撤回通知
| [in] | notify_json | 消息撤回通知(Json Value数据字符串) |
| [out] | notifys | 消息撤回通知 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRecallMsgNotify | ( | const std::string | json_value, |
| RecallMsgNotify & | notify | ||
| ) |
解析消息撤回通知
| [in] | json_value | 消息撤回通知json格式 |
| [out] | notify | 消息撤回通知 |
| 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 | 消息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseReceiveMessage | ( | const std::string & | msg_json, |
| IMMessage & | message | ||
| ) |
解析消息
| [in] | msg_json | 消息(Json Value数据字符串) |
| [out] | message | 消息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRobotInfosStringToRobotInfos | ( | const std::string & | infos_json, |
| RobotInfos & | infos | ||
| ) |
解析机器人信息
| [in] | infos_json | 机器人信息(Json Value数据字符串) |
| [out] | infos | 机器人信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseRobotInfoStringToRobotInfo | ( | const std::string & | info_json, |
| RobotInfo & | info | ||
| ) |
解析机器人信息
| [in] | info_json | 机器人信息 |
| [out] | info | 机器人信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSendMessageAck | ( | const std::string & | arc_json, |
| SendMessageArc & | arc | ||
| ) |
解析发送消息回执
| [in] | arc_json | 发送消息回执(Json Value数据字符串) |
| [out] | arc | 发送消息回执 |
| 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 | 会话信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSession | ( | const std::string & | session_json, |
| SessionData & | session | ||
| ) |
解析会话信息
| [in] | session_json | 会话信息(Json Value数据字符串) |
| [out] | session | 会话信息 |
| bool nim::SessionOnLineServiceHelper::ParseSessionList | ( | const std::string & | sessions_json, |
| SessionDataList & | session_list | ||
| ) |
解析会话列表信息
解析查询会话列表结果
| [in] | sessions_json | 会话列表信息(Json Value数据字符串) |
| [out] | session_list | 会话信息 |
| [in] | sessions_json | 查询结果 (Json Value数据字符串) |
| [out] | result | 会话信息 |
| 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 | 黑名单/静音列表 |
| 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 | 置顶会话信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseStickTopSession | ( | const std::string & | session_json, |
| StickTopSession & | session | ||
| ) |
解析置顶会话信息
| [in] | session_json | 置顶会话信息(Json Value数据字符串) |
| [out] | session | 置顶会话信息 |
| 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 | 置顶会话信息 |
| 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 | 群组事件通知 |
| 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 | 群组信息 |
| 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 | 群组信息 |
| 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 | 群组信息 |
| 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 | 群成员信息 |
| 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 | 群成员信息 |
| 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 | 群成员信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseSysMessage | ( | const std::string & | sysmsg_json, |
| SysMessage & | msg | ||
| ) |
解析系统消息或自定义通知
| [in] | sysmsg_json | 系统消息或自定义通知(Json Value数据字符串) |
| [out] | msg | 系统消息或自定义通知 |
| 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 | 系统消息或自定义通知 |
| 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 | 当前总计的未读数 |
| 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 | 群组事件通知 |
| 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 | 群组信息 |
| 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 | 群组信息 |
| 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 | 群组信息 |
| 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 | 群成员信息 |
| 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 | 群成员信息 |
| 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 | 群成员信息 |
| NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseUploadResult | ( | const std::string & | url, |
| const std::string & | json, | ||
| UploadMediaResult & | res | ||
| ) |
解析NOS上传结果
| [in] | url | 上传结果地址 |
| [in] | json | Json Value扩展数据 |
| [out] | res | 结果结构体 |
| bool nim::StrListToJsonString | ( | const std::list< std::string > & | list, |
| std::string & | out | ||
| ) |
将一个string类型的list组装成一个Json Array
| [in] | list | string类型的list |
| [out] | out | Json Array |
| bool nim::StrListToJsonString | ( | const std::vector< std::string > & | list, |
| std::string & | out | ||
| ) |
将一个string类型的list组装成一个Json Array
| [in] | list | string类型的vector |
| [out] | out | Json Array |
| NIM_SDK_CPPWRAPPER_DLL_API void nim::UnregNIMCallback | ( | ) |
反注册NIM提供的所有回调