1. Audio 音频/语音

1.1. API 调用

1.1.1. QN.audio.voiceToText(options)

语音转文本

API 调用入参

参数名 类型 是否可选 默认值 含义
options Object 可选 选项

API 响应结果

参数名 类型 是否一定返回 含义
result Object 响应对象
result.code String 错误码,成功为 QAP_SUCCESS;失败为其他
result.msg String 错误信息

调用示例

QN.audio.voiceToText()
.then(result => {
    console.log(result);
})

results matching ""

    No results matching ""