NIM 跨平台 C++ SDK
|
#include <nim_qchat_attachment_cpp_def.h>
Public 成员函数 | |
NIMQChatAttachmentDownloadParam | ToCParam () const |
Public 属性 | |
AttachmentDownloadCallback | cb {nullptr} |
回调函数 | |
AttachmentProgressCallback | progress_cb {nullptr} |
进度回调 | |
NIMQChatDownloadResType | res_type {NIMQChatDownloadResTypeSource} |
下载资源类型 | |
std::string | task_id |
任务id, 为空时自动生成 | |
std::string | url {""} |
下载地址 | |
std::string | file_path {""} |
文件路径 | |
|
inline |
AttachmentDownloadCallback nim::QChatAttachmentDownloadParam::cb {nullptr} |
回调函数
std::string nim::QChatAttachmentDownloadParam::file_path {""} |
文件路径
AttachmentProgressCallback nim::QChatAttachmentDownloadParam::progress_cb {nullptr} |
进度回调
NIMQChatDownloadResType nim::QChatAttachmentDownloadParam::res_type {NIMQChatDownloadResTypeSource} |
下载资源类型
std::string nim::QChatAttachmentDownloadParam::task_id |
任务id, 为空时自动生成
std::string nim::QChatAttachmentDownloadParam::url {""} |
下载地址