prepareSpeech

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,并且回调成功才能调用。

posted on 2024-12-21 14:40  AtlasLapetos  阅读(11)  评论(0)    收藏  举报