NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_tool_helper.h
浏览该文件的文档.
1
7#ifndef _NIM_SDK_CPP_TOOL_HELPER_H_
8#define _NIM_SDK_CPP_TOOL_HELPER_H_
9
10#include <functional>
11#include <string>
12#include "assert.h"
14#include "nim_define_include.h"
19namespace nim {
23 std::string mime_type_;
25 std::string samplerate_;
27 std::string url_;
29 uint64_t duration_{0};
30
33 : duration_(0) {}
34};
35
36} // namespace nim
37
38#endif //_NIM_SDK_CPP_TOOL_HELPER_H_
namespace nim
NIM 公共数据类型定义总的包含文件
定义导出宏
#define NIM_SDK_CPPWRAPPER_DLL_API
Definition: nim_sdk_cpp_wrapper.h:38
语音信息,用于语音转文字
Definition: nim_tool_helper.h:21
AudioInfo()
Definition: nim_tool_helper.h:32
std::string mime_type_
语音类型
Definition: nim_tool_helper.h:23
std::string url_
上传云端后得到的下载地址
Definition: nim_tool_helper.h:27
std::string samplerate_
采样率
Definition: nim_tool_helper.h:25