10#ifndef NIM_SDK_DLL_API_NIM_CLIENT_H_
11#define NIM_SDK_DLL_API_NIM_CLIENT_H_
28NIM_SDK_DLL_API
bool nim_client_init(
const char* app_data_dir,
const char* app_install_dir,
const char* json_extension);
80 const char* json_extension,
82 const void* user_data);
109 const char* json_extension,
111 const void* user_data);
196 const void* user_data);
211 const char* json_extension,
213 const void* user_data);
224 const void* user_data);
254 const char* json_extension,
255 const void* user_data);
NIM_SDK_DLL_API void nim_client_reg_auto_relogin_cb(const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_update_apns_token(const char *device_token)
NIM_SDK_DLL_API void nim_client_get_server_current_time(bool calc_local, nim_client_get_server_current_time_cb_func cb, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API void nim_client_cleanup(const char *json_extension)
NIM_SDK_DLL_API void nim_client_get_multiport_push_config(const char *json_extension, nim_client_multiport_push_config_cb_func cb, const void *user_data)
NIM_SDK_DLL_API bool nim_client_init(const char *app_data_dir, const char *app_install_dir, const char *json_extension)
NIM_SDK_DLL_API void nim_client_relogin(const char *json_extension)
NIM_SDK_DLL_API void nim_client_reg_kickout_cb(const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_reg_sync_multiport_push_config_cb(const char *json_extension, nim_client_multiport_push_config_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_set_multiport_push_config(const char *switch_content, const char *json_extension, nim_client_multiport_push_config_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_reg_disconnect_cb(const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_reg_multispot_login_notify_cb(const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API const char *const nim_client_current_user_account()
NIM_SDK_DLL_API void nim_client_cleanup2(nim_json_transport_cb_func cb, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API void nim_client_logout(enum NIMLogoutType logout_type, const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_login(const char *app_key, const char *account, const char *token, const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_reg_relogin_request_token_cb(const char *json_extension, nim_relogin_request_token_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_reg_kickout_other_client_cb(const char *json_extension, nim_json_transport_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_client_kick_other_client(const char *json_extension)
NIM_SDK_DLL_API int nim_client_get_login_state(const char *json_extension)
NIM_SDK_DLL_API const char *const nim_client_version()
void(* nim_client_multiport_push_config_cb_func)(int rescode, const char *content, const char *json_params, const void *user_data)
Definition: nim_client_def.h:25
void(* nim_client_get_server_current_time_cb_func)(int rescode, bool calc_local, uint64_t time, const void *user_data)
Definition: nim_client_def.h:45
NIMLogoutType
Definition: nim_client_def.h:91
void(* nim_relogin_request_token_cb_func)(char *&auth_token, uint32_t *length, const char *json_params, const void *user_data)
Definition: nim_global_def.h:40
void(* nim_json_transport_cb_func)(const char *json_params, const void *user_data)
Definition: nim_global_def.h:30
NIM SDK 及 NIM ChatRoom SDK 公用头文件