![]() |
NIM 跨平台 C++ SDK
|
#include "nim_qchat_public_def.h"类型定义 | |
| typedef NIMQChatAttachmentCustomTokenResp(* | nim_qchat_attachment_custom_token_cb_func) (const NIMQChatAttachmentCustomTokenResp *resp) |
| 获取附件上传下载自定义token回调 | |
| typedef void(* | nim_qchat_attachment_upload_cb_func) (const NIMQChatAttachmentUploadResp *resp) |
| 上传附件回调 | |
| typedef void(* | nim_qchat_attachment_download_cb_func) (const NIMQChatAttachmentDownloadResp *resp) |
| 下载附件回调 | |
| typedef void(* | nim_qchat_attachment_progress_cb_func) (const NIMQChatAttachmentProgressResp *resp) |
| 删除附件回调 | |
枚举 | |
| enum | NIMQChatDownloadResType { NIMQChatDownloadResTypeSource = 1 , NIMQChatDownloadResTypeImageThumnail = 2 , NIMQChatDownloadResTypeVideoCover = 3 } |
| typedef NIMQChatAttachmentCustomTokenResp(* nim_qchat_attachment_custom_token_cb_func) (const NIMQChatAttachmentCustomTokenResp *resp) |
获取附件上传下载自定义token回调
| typedef void(* nim_qchat_attachment_download_cb_func) (const NIMQChatAttachmentDownloadResp *resp) |
下载附件回调
| typedef void(* nim_qchat_attachment_progress_cb_func) (const NIMQChatAttachmentProgressResp *resp) |
删除附件回调
| typedef void(* nim_qchat_attachment_upload_cb_func) (const NIMQChatAttachmentUploadResp *resp) |
上传附件回调