NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_user.h
浏览该文件的文档.
1
7#ifndef NIM_SDK_DLL_API_NIM_USER_H_
8#define NIM_SDK_DLL_API_NIM_USER_H_
9
10#include "nim_user_def.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
27 const void* user_data);
28
40NIM_SDK_DLL_API void nim_user_set_black(const char* accid,
41 bool set_black,
42 const char* json_extension,
44 const void* user_data);
45
57NIM_SDK_DLL_API void nim_user_set_mute(const char* accid, bool set_mute, const char* json_extension, nim_user_opt_cb_func cb, const void* user_data);
58
67NIM_SDK_DLL_API void nim_user_get_mute_blacklist(const char* json_extension, nim_user_sync_muteandblacklist_cb_func cb, const void* user_data);
68
76NIM_SDK_DLL_API void nim_user_reg_user_name_card_changed_cb(const char* json_extension, nim_user_name_card_change_cb_func cb, const void* user_data);
77
94 const char* json_extension,
96 const void* user_data);
97
115 const char* json_extension,
117 const void* user_data);
118
133 const char* json_extension,
135 const void* user_data);
136
144NIM_SDK_DLL_API void nim_user_update_push_token(const char* cer_name, const char* token, int type);
145
156 const char* json_extension,
158 const void* user_data);
159
160#ifdef __cplusplus
161};
162#endif //__cplusplus
163#endif // NIM_SDK_DLL_API_NIM_USER_H_
#define NIM_SDK_DLL_API
Definition nim_build_config.h:14
NIM_SDK_DLL_API void nim_user_reg_user_name_card_changed_cb(const char *json_extension, nim_user_name_card_change_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_reg_special_relationship_changed_cb(const char *json_extension, nim_user_special_relationship_change_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_get_user_name_card_online(const char *accids, const char *json_extension, nim_user_get_user_name_card_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_update_my_user_name_card(const char *info_json, const char *json_extension, nim_user_update_my_name_card_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_query_by_keyword(const char *keyword, const char *json_extension, nim_user_get_user_name_card_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_update_push_token(const char *cer_name, const char *token, int type)
NIM_SDK_DLL_API void nim_user_set_mute(const char *accid, bool set_mute, const char *json_extension, nim_user_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_get_mute_blacklist(const char *json_extension, nim_user_sync_muteandblacklist_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_get_user_name_card(const char *accids, const char *json_extension, nim_user_get_user_name_card_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_user_set_black(const char *accid, bool set_black, const char *json_extension, nim_user_opt_cb_func cb, const void *user_data)
用户数据 接口相关的常量函数等定义头文件
void(* nim_user_opt_cb_func)(int res_code, const char *accid, bool opt, const char *json_extension, const void *user_data)
Definition nim_user_def.h:123
void(* nim_user_sync_muteandblacklist_cb_func)(int res_code, const char *black_list_json, const char *json_extension, const void *user_data)
Definition nim_user_def.h:137
void(* nim_user_special_relationship_change_cb_func)(enum NIMUserSpecialRelationshipChangeType type, const char *result_json, const char *json_extension, const void *user_data)
Definition nim_user_def.h:109
void(* nim_user_name_card_change_cb_func)(const char *result_json, const char *json_extension, const void *user_data)
Definition nim_user_def.h:147
void(* nim_user_update_my_name_card_cb_func)(int res_code, const char *json_extension, const void *user_data)
Definition nim_user_def.h:166
void(* nim_user_get_user_name_card_cb_func)(const char *result_json, const char *json_extension, const void *user_data)
Definition nim_user_def.h:157