startSpeechMonitor 启动语音监听

startSpeechMonitor ^5.9.0

启动语音监听

#请求参数

Prop Type Required Default Description
param Object Y {} 属性: auto: mode: deviceType: deviceId: 请求参数

#接口调用示例

this.$bridge
    .startSpeechMonitor(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })

#返回参数

  • 成功时返回
Prop Type Default Description
status Number N/A 0 开始语音监听成功
  • 失败时返回
Prop Type Default Description
errorCode Number N/A 失败错误码
errorMessage String N/A 错误消息(如有)
posted on 2024-12-18 09:22  AtlasLapetos  阅读(26)  评论(0)    收藏  举报