# textToSpeech ^5.11.0

播报文字

# 请求参数

Prop Type Required Default Description
param Object Y {}
属性:
content:{
Type: String,
Default: N/A,
Description: 需要播报的句子
}
请求参数

# 接口调用示例

this.$bridge
    .textToSpeech(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })
1
2
3
4
5
6
7
8

# 返回参数

  • 失败时返回
Prop Type Default Description
errorMessage String N/A 错误消息(如有)
Last Updated: 10/27/2020, 4:08:13 PM