NIM 跨平台 C++ SDK
|
namespace nim 更多...
枚举 | |
enum | NIMAIModelConfigFieldFlag { kAIModelConfigFieldFlagPrompt = 1 , kAIModelConfigFieldFlagMaxTokens = 1 << 1 , kAIModelConfigFieldFlagTopP = 1 << 2 , kAIModelConfigFieldFlagTemperature = 1 << 3 , kAIModelConfigFieldFlagModel = 1 << 4 , kAIModelConfigFieldFlagPromptKeys = 1 << 5 } |
enum | AIUserNameCardFieldFlag |
AI 数字人名片字段有效性校验 更多... | |
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 , kUserNameCardKeyModelType = 1 << 8 , kUserNameCardKeyModelConfig = 1 << 9 , kUserNameCardKeyAll = (1 << 10) - 1 } |
函数 | |
static void | CallbackGlobalProxyAIModelCall (const char *json_params, const void *callback) |
static void | CallbackGetAIUserList (enum NIMResCode code, const char *result, const void *callback) |
static void | CallbackProxyAIModelCall (enum NIMResCode code, const void *callback) |
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 | CallbackIsMessageIndexEstablished (bool established, const void *callback) |
static void | CallbackBuildMsglogIndexes (NIMBuildingMsglogIndexesCompleteReason reason, const char *error_message, const void *user_data) |
static void | CallbackMsglogIndexesProgress (uint32_t total, uint32_t built_count, 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 | ParseAIUserNameCards (const std::string &namecards_json, std::list< AIUserNameCard > &namecards) |
bool | ParseAIUserNameCards (const nim_cpp_wrapper_util::Json::Value &namecards_json, std::list< AIUserNameCard > &namecards) |
bool | ParseAIUserNameCard (const std::string &namecard_json, AIUserNameCard &namecard) |
void | ParseAIUserNameCard (const nim_cpp_wrapper_util::Json::Value &namecard_json, AIUserNameCard &namecard) |
void | ParseAIUserModelConfig (const nim_cpp_wrapper_util::Json::Value &model_config_json, NIMAIModelConfig &model_config) |
解析数字人模型配置 | |
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 ¬ify) |
bool | ParseRecallMsgNotify (const std::string json_value, RecallMsgNotify ¬ify) |
解析消息撤回通知 | |
bool | ParseRecallMsgNotify (const std::string ¬ify_json, std::list< RecallMsgNotify > ¬ifys) |
解析消息撤回通知 | |
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< QChatSystemNotificationDataBase > | MsgDataCPPToC (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 () |
namespace nim
圈组
using nim::AreMentionedMeMessagesCallback = std::function<void(const QChatAreMentionedMeMessagesResp&)> |
查询消息是否 @ 当前用户回调
typedef std::function<QChatAttachmentCustomTokenResp(const QChatAttachmentCustomTokenResp&) nim::AttachmentCustomTokenCallback) |
获取附件自定义token回调
typedef std::function<void(const QChatAttachmentDownloadResp&) nim::AttachmentDownloadCallback) |
下载附件回调
typedef std::function<void(const QChatAttachmentProgressResp&) nim::AttachmentProgressCallback) |
上传/下载附件进度回调
typedef std::function<void(const QChatAttachmentUploadResp&) nim::AttachmentUploadCallback) |
上传附件回调
using nim::ChannelCategoryCreateCallback = std::function<void(const QChatChannelCategoryCreateResp&)> |
创建频道分组回调
using nim::ChannelCategoryGetExistingWhiteBlackMembersCallback = std::function<void(const QChatChannelCategoryGetExistingWhiteBlackMembersResp&)> |
批量查询频道分组白/黑名单成员
using nim::ChannelCategoryGetExistingWhiteBlackRolesCallback = std::function<void(const QChatChannelCategoryGetExistingWhiteBlackRolesResp&)> |
批量查询频道分组白/黑名单身份组
using nim::ChannelCategoryGetWhiteBlackMembersPageCallback = std::function<void(const QChatChannelCategoryGetWhiteBlackMembersPageResp&)> |
分页查询频道分组白/黑名单成员
using nim::ChannelCategoryGetWhiteBlackRolesPageCallback = std::function<void(const QChatChannelCategoryGetWhiteBlackRolesPageResp&)> |
分页查询频道分组白/黑名单身份组
using nim::ChannelCategoryRemoveCallback = std::function<void(const QChatChannelCategoryRemoveResp&)> |
删除频道分组回调
using nim::ChannelCategoryUpdateCallback = std::function<void(const QChatChannelCategoryUpdateResp&)> |
更新频道分组回调
using nim::ChannelCategoryUpdateWhiteBlackMembersCallback = std::function<void(const QChatChannelCategoryUpdateWhiteBlackMembersResp&)> |
更新频道分组白/黑名单成员
using nim::ChannelCategoryUpdateWhiteBlackRoleCallback = std::function<void(const QChatChannelCategoryUpdateWhiteBlackRoleResp&)> |
更新频道分组白/黑名单身份组
typedef std::function<void(const QChatChannelCreateResp&) nim::ChannelCreateCallback) |
创建频道回调
typedef std::function<void(const QChatChannelDeleteResp&) nim::ChannelDeleteCallback) |
删除频道回调
using nim::ChannelGetCategoriesByIDCallback = std::function<void(const QChatChannelGetCategoriesByIDResp&)> |
根据频道分组ID查询频道分组列表回调
using nim::ChannelGetCategoriesPageCallback = std::function<void(const QChatChannelGetCategoriesPageResp&)> |
分页查询频道分组回调
using nim::ChannelGetCategoryChannelsPageCallback = std::function<void(const QChatChannelGetCategoryChannelsPageResp&)> |
分页查询指定频道分组中的频道
typedef std::function<void(const QChatChannelGetMembersPageResp&) nim::ChannelGetMembersPageCallback) |
分页查询成员列表回调
using nim::ChannelGetRTCInfoCallback = std::function<void(const QChatChannelGetRTCInfoResp&)> |
查询RTC频道参数回调
using nim::ChannelGetRTCOnlineMembersCallback = std::function<void(const QChatChannelGetRTCOnlineMembersResp&)> |
查询RTC频道在线成员回调
using nim::ChannelMemberSearchCallback = std::function<void(const QChatChannelMemberSearchResp&)> |
搜索频道成员回调
typedef std::function<void(const QChatChannelQueryUnreadInfoResp&) nim::ChannelQueryUnreadInfoCallback) |
查询未读消息数回调
搜索频道分页回调
using nim::ChannelSubscribeAsVisitorCallback = std::function<void(const QChatChannelSubscribeAsVisitorResp&)> |
以游客身份订阅频道回调
typedef std::function<void(const QChatChannelSubscribeResp&) nim::ChannelSubscribeCallback) |
订阅回调
typedef std::function<void(const QChatChannelUnreadResp&) nim::ChannelUnreadCallback) |
未读信息回调
typedef std::function<void(const QChatChannelUpdateResp&) nim::ChannelUpdateCallback) |
更新频道回调
typedef std::function<void(const QChatChannelUpdateCategoryInfoResp&) nim::ChannelUpdateCategoryInfoCallback) |
更新频道的分组信息回调
using nim::ChannelUpdateRTCInfoCallback = std::function<void(const QChatChannelUpdateRTCInfoResp&)> |
修改RTC频道参数回调
typedef std::function<QChatCustomTokenResp(const QChatCustomTokenResp&) nim::CustomTokenCallback) |
获取自定义token回调
typedef std::function<void(const QChatChannelGetChannelsResp&) nim::GetChannelsCallback) |
查询频道列表回调
typedef std::function<void(const QChatChannelGetChannelsPageResp&) nim::GetChannelsPageCallback) |
分页查询频道列表回调
typedef std::function<void(const QChatChannelGetExistingWhiteBlackMembersResp&) nim::GetExistingWhiteBlackMembersCallback) |
查询已存在白/黑名单成员回调
typedef std::function<void(const QChatChannelGetExistingWhiteBlackRolesResp&) nim::GetExistingWhiteBlackRolesCallback) |
查询已存在白/黑名单身份组回调
typedef std::function<void(const QChatGetLastMessagesResp&) nim::GetLastMessagesCallback) |
查询频道最后一条消息回调
using nim::GetMentionedMeMessagesCallback = std::function<void(const QChatGetMentionedMeMessagesResp&)> |
查询未读消息中 @ 当前用户的消息回调
根据消息 ID 查询消息回调
本地获取消息回调
typedef std::function<void(const QChatGetMessagesResp&) nim::GetMessagesCallback) |
查询历史消息回调
using nim::GetQuickCommentsCallback = std::function<void(const QChatGetQuickCommentsResp&)> |
查询快捷回复回调
获取关联消息回调
using nim::GetRTCTokenCallback = std::function<void(const QChatGetRTCTokenResp&)> |
获取RTC频道token回调
typedef std::function<void(const QChatServerGetServersResp&) nim::GetServersCallback) |
查询服务器列表回调
typedef std::function<void(const QChatServerGetServersPageResp&) nim::GetServersPageCallback) |
查询服务器列表分页回调
using nim::GetTextCacheCallback = std::function<void(const QChatGetTextCacheResp&)> |
查询文本缓存回调
using nim::GetThreadMessagesCallback = std::function<void(const QChatGetThreadMessagesResp&)> |
查询Thread消息回调
using nim::GetThreadRootMessagesMetaCallback = std::function<void(const QChatGetThreadRootMessagesMetaResp&)> |
查询Thread消息元信息回调
typedef std::function<void(const QChatChannelGetWhiteBlackMembersPageResp&) nim::GetWhiteBlackMembersPageCallback) |
分页查询白/黑名单成员回调
typedef std::function<void(const QChatChannelGetWhiteBlackRolesPageResp&) nim::GetWhiteBlackRolesPageCallback) |
分页查询白/黑名单身份组回调
typedef std::function<void(const QChatKickResp&) nim::KickCallback) |
踢掉自己其他端回调
typedef std::function<void(const QChatKickedResp&) nim::KickedCallback) |
被踢回调
typedef std::function<void(const QChatLoginResp&) nim::LoginCallback) |
登录回调
typedef std::function<void(const QChatLoginStatusResp&) nim::LoginStatusCallback) |
被踢回调
typedef std::function<void(const QChatLogoutResp&) nim::LogoutCallback) |
登出回调
typedef std::function<void(const QChatMarkMessageReadResp&) nim::MarkMessageReadCallback) |
消息已读标记回调
typedef std::function<void(const QChatMarkSystemNotificationsReadResp&) nim::MarkReadSystemNotificationCallback) |
标记系统通知消息已读回调函数
using nim::MessageSearchPageCallback = std::function<void(const QChatMessageSearchPageResp&)> |
消息分页搜索回调
typedef std::function<void(const QChatMsgUpdatedResp&) nim::MsgUpdatedCallback) |
消息更新回调
typedef std::function<void(const QChatMultispotLoginResp&) nim::MultispotLoginCallback) |
多点登录回调
using nim::QChatAddChannelCategoryMemberRoleCallback = std::function<void(const QChatAddChannelCategoryMemberRoleResp&)> |
using nim::QChatAddChannelCategoryRoleCallback = std::function<void(const QChatAddChannelCategoryRoleResp&)> |
using nim::QChatAddChannelRoleCallback = std::function<void(const QChatAddChannelRoleResp&)> |
using nim::QChatAddMemberRoleCallback = std::function<void(const QChatAddMemberRoleResp&)> |
using nim::QChatAddMembersToServerRoleCallback = std::function<void(const QChatAddMembersToServerRoleResp&)> |
using nim::QChatAddQuickCommentParam = QChatQuickCommentParam<kNIMQChatQuickCommentAdd, NIMQChatAddQuickCommentParam, NIMQChatAddQuickCommentResp> |
typedef std::function<void(const QChatBaseResp&) nim::QChatBaseCallback) |
通用回调模板
using nim::QChatBatchUpdateServerRolePrioritiesCallback = std::function<void(const QChatUpdateServerRolePrioritiesResp&)> |
using nim::QChatCheckPermissionCallback = std::function<void(const QChatCheckPermissionResp&)> |
using nim::QChatCheckPermissionsCallback = std::function<void(const QChatCheckPermissionsResp&)> |
using nim::QChatCreateServerRoleCallback = std::function<void(const QChatCreateServerRoleResp&)> |
using nim::QChatGetChannelCategoryMemberRolesPageCallback = std::function<void(const QChatGetChannelCategoryMemberRolesPageResp&)> |
using nim::QChatGetChannelCategoryRolesPageCallback = std::function<void(const QChatGetChannelCategoryRolesPageResp&)> |
using nim::QChatGetChannelRolesCallback = std::function<void(const QChatGetChannelRolesResp&)> |
using nim::QChatGetExistingAccidsInServerRoleCallback = std::function<void(const QChatGetExistingAccidsInServerRoleResp&)> |
using nim::QChatGetExistingAccidsOfMemberRolesCallback = std::function<void(const QChatGetExistingAccidsOfMemberRolesResp&)> |
using nim::QChatGetExistingRolesInChannelCallback = std::function<void(const QChatGetExistingChannelRolesByServerRoleIdsResp&)> |
using nim::QChatGetMemberRoleInChannelCallback = std::function<void(const QChatGetMemberRolesResp&)> |
using nim::QChatGetMembersFromServerRoleCallback = std::function<void(const QChatGetMembersFromServerRoleResp&)> |
using nim::QChatGetRolesByMemberIdCallback = std::function<void(const QChatGetRolesByAccidResp&)> |
using nim::QChatGetRolesByMemberIdsCallback = std::function<void(const QChatGetExistingServerRolesByAccidsResp&)> |
using nim::QChatGetServerRolesCallback = std::function<void(const QChatGetServerRolesResp&)> |
using nim::QChatPermission = std::map<uint32_t, NIMQChatPermissionsOption> |
using nim::QChatRemoveMembersFromServerRoleCallback = std::function<void(const QChatRemoveMembersFromServerRoleResp&)> |
using nim::QChatRemoveQuickCommentParam = QChatQuickCommentParam<kNIMQChatQuickCommentRemove, NIMQChatRemoveQuickCommentParam, NIMQChatRemoveQuickCommentResp> |
using nim::QChatSystemNotificationDataChannelCategoryUpdate = QChatSystemNotificationDataChannelCategoryCreate |
using nim::QChatSystemNotificationDataServerRoleRemoveMember = QChatSystemNotificationDataServerRoleAddMember |
using nim::QChatUpdateChannelCategoryMemberRoleCallback = std::function<void(const QChatUpdateChannelCategoryMemberRoleResp&)> |
using nim::QChatUpdateChannelCategoryRoleCallback = std::function<void(const QChatUpdateChannelCategoryRoleResp&)> |
using nim::QChatUpdateChannelRoleCallback = std::function<void(const QChatUpdateChannelRoleResp&)> |
using nim::QChatUpdateMemberRoleCallback = std::function<void(const QChatUpdateMemberRoleResp&)> |
using nim::QChatUpdateServerRoleCallback = std::function<void(const QChatUpdateServerRoleResp&)> |
添加快捷回复回调
typedef std::function<void(const QChatRecvMsgResp&) nim::RecvMsgCallback) |
接收消息回调
typedef std::function<void(const QChatRecvSystemNotificationResp&) nim::RecvSystemNotificationCallback) |
接收系统消息回调
typedef std::function<void(const QChatRecvTypingEventResp&) nim::RecvTypingEventCallback) |
接收圈组正在输入事件回调
using nim::ReplyMessageCallback = std::function<void(const QChatReplyMessageResp&)> |
回复消息回调
typedef std::list<RobotInfo> nim::RobotInfos |
typedef std::function<void(const QChatSDKLogResp&) nim::SDKLogCallback) |
SDK系统日志回调模板
typedef std::function<void(const QChatSendMessageResp&) nim::SendMsgCallback) |
发送消息回调
typedef std::function<void(const QChatSendSystemNotificationResp&) nim::SendSystemNotificationCallback) |
发送系统消息回调
typedef std::function<void(const QChatSendTypingEventResp&) nim::SendTypingEventCallback) |
发送圈组正在输入事件回调
typedef std::function<void(const QChatServerAcceptApplyResp&) nim::ServerAcceptApplyCallback) |
接受申请加入服务器回调
typedef std::function<void(const QChatServerAcceptInviteResp&) nim::ServerAcceptInviteCallback) |
接受邀请加入服务器回调
typedef std::function<void(const QChatServerApplyResp&) nim::ServerApplyCallback) |
申请加入服务器回调
typedef std::function<void(const QChatServerBanMemberResp&) nim::ServerBanMemberCallback) |
封禁成员回调
typedef std::function<void(const QChatServerCreateResp&) nim::ServerCreateCallback) |
创建服务器回调
using nim::ServerEnterAsVisitorCallback = std::function<void(const QChatServerEnterAsVisitorResp&)> |
以游客身份进入服务器回调
using nim::ServerGenerateInviteCodeCallback = std::function<void(const QChatServerGenerateInviteCodeResp&)> |
生成邀请码回调
typedef std::function<void(const QChatServerGetBannedMembersPageResp&) nim::ServerGetBannedMembersPageCallback) |
查询服务器成员封禁列表分页回调
using nim::ServerGetInviteApplyRecordOfSelfCallback = std::function<void(const QChatServerGetInviteApplyRecordOfSelfResp&)> |
查询自己的申请邀请记录回调
using nim::ServerGetInviteApplyRecordOfServerCallback = std::function<void(const QChatServerGetInviteApplyRecordOfServerResp&)> |
查询服务器下的申请邀请记录回调
typedef std::function<void(const QChatServerGetMembersResp&) nim::ServerGetMembersCallback) |
查询服务器成员列表回调
typedef std::function<void(const QChatServerGetMembersPageResp&) nim::ServerGetMembersPageCallback) |
查询服务器成员列表分页回调
typedef std::function<void(const QChatServerInviteResp&) nim::ServerInviteCallback) |
邀请用户加入服务器回调
using nim::ServerJoinByInviteCodeCallback = std::function<void(const QChatServerJoinByInviteCodeResp&)> |
通过邀请码加入回调
typedef std::function<void(const QChatServerKickResp&) nim::ServerKickCallback) |
踢出服务器回调
using nim::ServerLeaveAsVisitorCallback = std::function<void(const QChatServerLeaveAsVisitorResp&)> |
以游客身份离开服务器回调
typedef std::function<void(const QChatServerLeaveResp&) nim::ServerLeaveCallback) |
离开服务器回调
using nim::ServerMarkReadCallback = std::function<void(const QChatServerMarkReadResp&)> |
服务器标记已读
搜索服务器成员分页回调
typedef std::function<void(const QChatServerRejectApplyResp&) nim::ServerRejectApplyCallback) |
拒绝申请加入服务器回调
typedef std::function<void(const QChatServerRejectInviteResp&) nim::ServerRejectInviteCallback) |
拒绝邀请加入服务器回调
typedef std::function<void(const QChatServerDeleteResp&) nim::ServerRemoveCallback) |
删除服务器回调
搜索服务器分页回调
using nim::ServerSubscribeAllChannelCallback = std::function<void(const QChatServerSubscribeAllChannelResp&)> |
订阅所有频道
using nim::ServerSubscribeAsVisitorCallback = std::function<void(const QChatServerSubscribeAsVisitorResp&)> |
以游客身份订阅服务器回调
typedef std::function<void(const QChatServerSubscribeResp&) nim::ServerSubscribeCallback) |
订阅回调
typedef std::function<void(const QChatServerUnbanMemberResp&) nim::ServerUnbanMemberCallback) |
解封成员回调
using nim::ServerUnreadCallback = std::function<void(const QChatServerUnreadResp&)> |
未读数回调
typedef std::function<void(const QChatServerUpdateResp&) nim::ServerUpdateCallback) |
更新服务器回调
typedef std::function<void(const QChatServerUpdateMemberInfoResp&) nim::ServerUpdateMemberInfoCallback) |
更新服务器成员信息回调
typedef std::function<void(const QChatSystemNotificationUpdatedResp&) nim::SystemNotificationUpdatedCallback) |
消息更新回调
typedef std::function<void(const QChatUpdateMessageResp&) nim::UpdateMsgCallback) |
更新消息回调
typedef std::function<void(const QChatUpdateSystemNotificationResp&) nim::UpdateSystemNotificationCallback) |
更新系统通知回调
typedef std::function<void(const QChatChannelUpdateWhiteBlackMembersResp&) nim::UpdateWhiteBlackMembersCallback) |
更新白/黑名单成员回调
typedef std::function<void(const QChatChannelUpdateWhiteBlackRoleResp&) nim::UpdateWhiteBlackRoleCallback) |
更新白/黑名单身份组回调
AI 数字人名片字段有效性校验
enum nim::TeamQueryOrder |
void nim::AckCallbackWrapper | ( | int | code, |
const char * | session_id, | ||
int | channel_type, | ||
bool | accept, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::AckNotifyCallbackWrapper | ( | const char * | session_id, |
int | channel_type, | ||
bool | accept, | ||
const char * | uid, | ||
const char * | json_extension, | ||
const void * | user_data ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void nim::CallbackGetServerCurrentTime | ( | int | rescode, |
bool | calc_local, | ||
uint64_t | time, | ||
const void * | callback ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void nim::ConnectNotifyCallbackWrapper | ( | const char * | session_id, |
int | channel_type, | ||
int | code, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::ControlCallbackWrapper | ( | int | code, |
const char * | session_id, | ||
const char * | info, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::ControlNotifyCallbackWrapper | ( | const char * | session_id, |
const char * | info, | ||
const char * | uid, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::CreateConfCallbackWrapper | ( | int | code, |
const char * | json_extension, | ||
const void * | user_data ) |
void nim::FillSessionMainTagInfo | ( | const std::string & | session_id, |
nim::NIMSessionType | to_type, | ||
SessionMainTagInfo & | info ) |
|
static |
NIMVChatConnectStatus nim::GetConnectStatus | ( | ) |
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
void nim::HangupCallbackWrapper | ( | int | code, |
const char * | session_id, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::HangupNotifyCallbackWrapper | ( | const char * | session_id, |
const char * | uid, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::JoinConfCallbackWrapper | ( | int | code, |
const char * | session_id, | ||
const char * | json_extension, | ||
const void * | user_data ) |
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 |
void nim::MemberNotifyCallbackWrapper | ( | const char * | session_id, |
int | channel_type, | ||
int | type, | ||
const char * | uid, | ||
const char * | json_extension, | ||
const void * | user_data ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void nim::OptCallbackWrapper | ( | int | res_code, |
const char * | session_id, | ||
int | channel_type, | ||
const char * | json_extension, | ||
const void * | user_data ) |
NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseAIUserModelConfig | ( | const nim_cpp_wrapper_util::Json::Value & | model_config_json, |
NIMAIModelConfig & | model_config ) |
解析数字人模型配置
[in] | model_config_json | 模型配置(Json Value数据) |
[out] | model_config | 模型配置 |
NIM_SDK_CPPWRAPPER_DLL_API void nim::ParseAIUserNameCard | ( | const nim_cpp_wrapper_util::Json::Value & | namecard_json, |
AIUserNameCard & | namecard ) |
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseAIUserNameCard | ( | const std::string & | namecard_json, |
AIUserNameCard & | namecard ) |
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseAIUserNameCards | ( | const nim_cpp_wrapper_util::Json::Value & | namecards_json, |
std::list< AIUserNameCard > & | namecards ) |
NIM_SDK_CPPWRAPPER_DLL_API bool nim::ParseAIUserNameCards | ( | const std::string & | namecards_json, |
std::list< AIUserNameCard > & | namecards ) |
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 | 数据结构体 |
bool nim::ParseRecallMsgNotify | ( | const nim_cpp_wrapper_util::Json::Value & | json_value, |
RecallMsgNotify & | notify ) |
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 | 结果结构体 |
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 ) |
|
static |
void nim::StartChannelCallbackWrapper | ( | int | code, |
const char * | session_id, | ||
int | channel_type, | ||
const char * | uid, | ||
const char * | json_extension, | ||
const void * | user_data ) |
void nim::StartNotifyCallbackWrapper | ( | const char * | session_id, |
int | channel_type, | ||
const char * | uid, | ||
const char * | json_extension, | ||
const void * | user_data ) |
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 |
void nim::SyncAckNotifyCallbackWrapper | ( | const char * | session_id, |
int | channel_type, | ||
bool | accept, | ||
const char * | json_extension, | ||
const void * | user_data ) |
|
static |
NIM_SDK_CPPWRAPPER_DLL_API void nim::UnregNIMCallback | ( | ) |
反注册NIM提供的所有回调
|
static |
TalkEx::PinMsg::AddPinMessageNotifyCallback nim::g_add_pin_message_notify_cb = nullptr |
TalkEx::QuickComment::AddQuickCommentNotifyCallback nim::g_add_qcnotify_callback = nullptr |
|
static |
std::string nim::g_app_token = "" |
Session::CancelStickTopSessionNotifyCallback nim::g_cancel_stick_top_session_notify_callback_ = nullptr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
SystemMsg::ReceiveSysmsgCallback nim::g_cb_receive_sysmsg_ = nullptr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
MsgLog::DeleteHistoryOnLineNotifyCallback nim::g_delete_history_messages_notify_cb = nullptr |
MsgLog::DeleteMsglogSelfNotifyCallback nim::g_delete_msglog_self_notify_cb = nullptr |
|
static |
|
static |
|
static |
|
static |
SDKConfig nim::g_nim_sdk_config_ |
|
static |
|
static |
|
static |
|
static |
|
static |
TalkEx::QuickComment::RemoveQuickCommentNotifyCallback nim::g_remove_qcnotify_callback = nullptr |
|
static |
|
static |
Global::SDKDBErrorCallback nim::g_sdkdberror = nullptr |
SessionOnLineService::SessionChangedCallback nim::g_session_changed_callback = nullptr |
Session::SetToStickTopSessionNotifyCallback nim::g_set_to_stick_topsession_notify_callback_ = nullptr |
|
static |
|
static |
|
static |
TalkEx::PinMsg::UnPinMessageNotifyCallback nim::g_unpin_message_notify_cb = nullptr |
TalkEx::PinMsg::UpdatePinMessageNotifyCallback nim::g_update_pin_message_notify_cb = nullptr |
Session::UpdateStickTopSessionNotifyCallback nim::g_updatesticktopsessionnotifycallback_ = nullptr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
extern |