7#ifndef _NIM_SDK_CPP_DOC_TRANS_H_
8#define _NIM_SDK_CPP_DOC_TRANS_H_
24 typedef std::function<void(int32_t code,
const DocTransInfo& doc_info)> DocInfoCallback;
25 typedef std::function<void(int32_t code, int32_t count,
const std::list<DocTransInfo>& doc_infos)> DocInfosCallback;
33 static void RegNotifyCb(
const DocInfoCallback& cb);
42 static void GetInfo(
const std::string&
id,
const std::string& json_extension,
const DocInfoCallback& cb);
52 static void GetInfoList(
const std::string&
id, int32_t limit,
const std::string& json_extension,
const DocInfosCallback& cb);
61 static void DeleteInfo(
const std::string&
id,
const std::string& json_extension,
const DocInfoCallback& cb);
81 static std::string GetPageUrl(
const std::string& url_prefix,
NIM SDK提供的文档转换相关接口
Definition: nim_cpp_doc_trans.h:22
NIMDocTranscodingFileType
Definition: nim_doc_trans_def.h:18
NIMDocTranscodingImageType
Definition: nim_doc_trans_def.h:28
NIMDocTranscodingQuality
Definition: nim_doc_trans_def.h:36
文档传输信息
Definition: nim_doc_trans_helper.h:39