NIM PC Cross Platform SDK
nim_user.h
Go to the documentation of this file.
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
25NIM_SDK_DLL_API void nim_user_reg_special_relationship_changed_cb(const char* json_extension,
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
93NIM_SDK_DLL_API void nim_user_get_user_name_card(const char* accids,
94 const char* json_extension,
96 const void* user_data);
97
114NIM_SDK_DLL_API void nim_user_get_user_name_card_online(const char* accids,
115 const char* json_extension,
117 const void* user_data);
118
132NIM_SDK_DLL_API void nim_user_update_my_user_name_card(const char* info_json,
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
155NIM_SDK_DLL_API void nim_user_query_by_keyword(const char* keyword,
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_
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:111
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:125
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:97
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:135
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:154
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:145