Go to the documentation of this file.
8 #ifndef NIM_SDK_DLL_EXPORT_HEADERS_NIM_GLOBAL_DEF_H_
9 #define NIM_SDK_DLL_EXPORT_HEADERS_NIM_GLOBAL_DEF_H_
39 typedef void (*nim_relogin_request_token_cb_func)(
char*& auth_token, uint32_t* length,
const char* json_params,
const void* user_data);
152 typedef void (*nim_global_upload_sdk_log_cb_func)(
int rescode,
const void* user_data);
180 #endif // NIM_SDK_DLL_EXPORT_HEADERS_NIM_GLOBAL_DEF_H_
void(* nim_sdk_get_cache_file_info_cb_func)(const char *info, const void *user_data)
Definition: nim_global_def.h:103
@ kNIMProxySocks4a
Definition: nim_global_def.h:163
static const char * kNIMCacheFileVideo
Definition: nim_global_def.h:87
static const char * kNIMDBERROperation
Definition: nim_global_def.h:132
@ kNIMDBOperationInsert
Definition: nim_global_def.h:123
void(* nim_sdk_log_cb_func)(int log_level, const char *log, const void *user_data)
Definition: nim_global_def.h:57
void(* nim_json_transport_cb_func)(const char *json_params, const void *user_data)
Definition: nim_global_def.h:29
static const char * kNIMCacheFileCount
Definition: nim_global_def.h:76
static const char * kNIMDBErrDBName
Definition: nim_global_def.h:131
@ kNIMSDKLogLevelPro
Definition: nim_global_def.h:47
void(* nim_sdk_exception_cb_func)(enum NIMSDKException exception, const char *log, const void *user_data)
Definition: nim_global_def.h:70
@ kNIMProxySocks5
Definition: nim_global_def.h:164
void(* nim_global_sdk_db_error_cb_func)(const char *error_info, const void *user_data)
Definition: nim_global_def.h:144
static const char * kNIMResCode
Definition: nim_global_def.h:20
void(* nim_sdk_del_cache_file_cb_func)(enum NIMResCode rescode, const void *user_data)
Definition: nim_global_def.h:111
static const char * kNIMDBErrCode
Definition: nim_global_def.h:133
void(* nim_global_detect_proxy_cb_func)(bool network_connect, enum NIMProxyDetectStep step, const char *json_params, const void *user_data)
Definition: nim_global_def.h:175
NIMSDKLogLevel
Definition: nim_chatroom_def.h:495
@ kNIMProxyDetectStepAllComplete
Definition: nim_global_def.h:156
@ kNIMProxyHttp11
Definition: nim_global_def.h:161
@ kNIMSDKLogLevelWarn
Definition: nim_global_def.h:45
NIMSDKException
Definition: nim_global_def.h:60
static const char * kNIMDBErrDescription_
Definition: nim_global_def.h:134
@ kNIMProxyNrtc
Definition: nim_global_def.h:165
NIM SDK 及 NIM ChatRoom SDK 公用头文件
static const char * kNIMGrayMixStoreEnable
Definition: nim_global_def.h:93
static const char * kNIMCacheFileImage
Definition: nim_global_def.h:85
void(* nim_sdk_feedback_cb_func)(enum NIMResCode rescode, const void *user_data)
Definition: nim_global_def.h:119
static const char * kNIMCacheFileAudio
Definition: nim_global_def.h:86
@ kNIMDBOperationDelete
Definition: nim_global_def.h:126
static const char * kNIMCacheFileType
Definition: nim_global_def.h:75
@ kNIMDBOperationUpdate
Definition: nim_global_def.h:125
NIMResCode
Definition: nim_chatroom_res_code_def.h:15
NIMDBOperation
Definition: nim_global_def.h:122
static const char * kNIMGrayTestEnable
Definition: nim_global_def.h:94
static const char * kNIMCacheFileOther
Definition: nim_global_def.h:84
static const char * kNIMDBErrAttach
Definition: nim_global_def.h:135
@ kNIMSDKLogLevelApp
Definition: nim_global_def.h:46
@ kNIMDBOperationRead
Definition: nim_global_def.h:124
@ kNIMProxyNone
Definition: nim_global_def.h:160
@ kNIMProxySocks4
Definition: nim_global_def.h:162
NIMProxyDetectStep
Definition: nim_global_def.h:155
@ kNIMSDKExceptionSpaceEmpty
Definition: nim_global_def.h:61
static const char * kNIMCacheFileTotalSize
Definition: nim_global_def.h:78
@ kNIMSDKLogLevelFatal
Definition: nim_global_def.h:43
NIM SDK提供给外部使用的错误号定义(包含客户端自定义和服务器返回的所有错误号)
@ kNIMSDKLogLevelError
Definition: nim_global_def.h:44
static const char * kNIMCacheFilePath
Definition: nim_global_def.h:77