# pauseSpeechMonitor ^5.10.0
识别当前的语音并暂停监听。在监听状态下可以停止。
- 参数描述:
Prop | Type | Required | Default | Description |
---|---|---|---|---|
param | Object | Y | {} 属性:isRecCurrent: {//^5.11.0Type: String, Default: false, Description: 停止后是否返回当前识别的到结果,默认是false } | 请求参数 |
# 接口调用示例
this.$bridge
.pauseSpeechMonitor(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
# 返回参数
- 失败时返回
Prop | Type | Default | Description |
---|---|---|---|
errorMessage | String | N/A | 错误消息(如有) |