NIM PC Cross Platform SDK
nim_cpp_nos.cpp File Reference

NIM SDK提供的NOS云存储服务接口 More...

Classes

struct  nim::UploadCallbackUserData
 
struct  nim::DownloadCallbackUserData
 
struct  nim::UploadCallbackExUserData
 
struct  nim::DownloadCallbackExUserData
 
class  nim::UploadCallbackUserDataMaker
 

Namespaces

namespace  nim
 namespace nim
 

Functions

static void nim::CallbackInitConfig (enum NIMNosInitConfigResultType rescode, const char *json_result, const char *json_extension, const void *user_data)
 
static void nim::CallbackUpload (int res_code, const char *url, const char *json_extension, const void *user_data)
 
static void nim::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 nim::CallbackProgress (int64_t completed_size, int64_t total_size, const char *json_extension, const void *callback)
 
static void nim::CallbackUploadEx (int res_code, const char *url, const char *json_extension, const void *user_data)
 
static void nim::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 nim::CallbackProgressEx (int64_t completed_size, int64_t total_size, const char *json_extension, const void *callback)
 
static void nim::CallbackSpeed (int64_t speed, const char *json_extension, const void *callback)
 
static void nim::CallbackTransferInfo (int64_t actual_size, int64_t speed, const char *json_extension, const void *callback)
 
static void nim::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 nim::CallbackMediaUploadResult (int res_code, const char *url, const char *json_extension, const void *user_data)
 
static void nim::CallbackSafeURLToOriginURLResult (int res_code, const char *origin_url, const void *user_data)
 

Variables

static NOS::DownloadMediaCallback nim::g_cb_pointer = nullptr
 
static NOS::UploadMediaExCallback nim::g_cb_upload_pointer = nullptr
 
static NOS::CustomTokenCallback nim::g_cb_custom_token_pointer = nullptr
 

Detailed Description

NIM SDK提供的NOS云存储服务接口

Date
2015/2/1