prepareSpeech ^7.8
prepareSpeech
#请求参数
N/A
#接口调用示例
this.$bridge
.prepareSpeech()
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#接口返回示例
{
"code": 0
}
#FAQ
tip
startSpeechToText, startTextToSpeech, stopSpeechToText, stopTextToSpeech, 以上4个调用都首先需要初始化prepareSpeech,并且回调成功才能调用。