SynthesisVoicesResult class
定义语音合成的结果。
构造函数
| Synthesis |
创建和初始化此类的实例。 |
属性
| error |
如果合成失败,请提供所发生错误的详细信息。 |
| properties | 结果中公开的属性集。 |
| reason | 指定结果的状态。 |
| result |
指定结果标识符。 |
| voices | 语音列表 |
构造函数详细信息
SynthesisVoicesResult(string, any, string)
创建和初始化此类的实例。
new SynthesisVoicesResult(requestId: string, json: any, errorDetails: string)
参数
- requestId
-
string
请求的结果 ID。
- json
-
any
终结点中的 json 有效负载。
- errorDetails
-
string
属性详细信息
errorDetails
如果合成失败,请提供所发生错误的详细信息。
string errorDetails
属性值
string
错误简要说明。
properties
reason
resultId
指定结果标识符。
string resultId
属性值
string
指定结果标识符。