NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim::QChatAttachmentDownloadParam结构体 参考

#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 {""}
 文件路径
 

成员函数说明

◆ ToCParam()

NIMQChatAttachmentDownloadParam nim::QChatAttachmentDownloadParam::ToCParam ( ) const
inline

类成员变量说明

◆ cb

AttachmentDownloadCallback nim::QChatAttachmentDownloadParam::cb {nullptr}

回调函数

◆ file_path

std::string nim::QChatAttachmentDownloadParam::file_path {""}

文件路径

◆ progress_cb

AttachmentProgressCallback nim::QChatAttachmentDownloadParam::progress_cb {nullptr}

进度回调

◆ res_type

NIMQChatDownloadResType nim::QChatAttachmentDownloadParam::res_type {NIMQChatDownloadResTypeSource}

下载资源类型

◆ task_id

std::string nim::QChatAttachmentDownloadParam::task_id

任务id, 为空时自动生成

◆ url

std::string nim::QChatAttachmentDownloadParam::url {""}

下载地址


该结构体的文档由以下文件生成: