NIM PC Cross Platform SDK
nim_tool_helper.h
Go to the documentation of this file.
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"
15#include "public_defines.h"
20namespace nim {
22struct NIM_SDK_CPPWRAPPER_DLL_API AudioInfo {
24 std::string mime_type_;
26 std::string samplerate_;
28 std::string url_;
30 uint64_t duration_;
31
34 : duration_(0) {}
35};
36
37} // namespace nim
38
39#endif //_NIM_SDK_CPP_TOOL_HELPER_H_
namespace nim
NIM 公共数据类型定义总的包含文件
定义导出宏
NIM SDK 及 NIM ChatRoom SDK 公用头文件
语音信息,用于语音转文字
Definition: nim_tool_helper.h:22
uint64_t duration_
语音时长
Definition: nim_tool_helper.h:30
AudioInfo()
Definition: nim_tool_helper.h:33
std::string mime_type_
语音类型
Definition: nim_tool_helper.h:24
std::string url_
上传云端后得到的下载地址
Definition: nim_tool_helper.h:28
std::string samplerate_
采样率
Definition: nim_tool_helper.h:26