SynthesisVoicesResult class

定義語音合成的結果。

Extends

建構函式

SynthesisVoicesResult(string, any, string)

建立並初始化這個類別的實例。

屬性

errorDetails

如果合成失敗,請提供所發生錯誤的詳細資料。

properties

結果中公開的屬性集。

reason

指定結果的狀態。

resultId

指定結果識別碼。

voices

語音清單

建構函式詳細資料

SynthesisVoicesResult(string, any, string)

建立並初始化這個類別的實例。

new SynthesisVoicesResult(requestId: string, json: any, errorDetails: string)

參數

requestId

string

要求的結果識別碼。

json

any

來自端點的 json 承載。

errorDetails

string

屬性詳細資料

errorDetails

如果合成失敗,請提供所發生錯誤的詳細資料。

string errorDetails

屬性值

string

錯誤的簡短描述。

properties

結果中公開的屬性集。

PropertyCollection properties

屬性值

結果中公開的屬性集。

reason

指定結果的狀態。

ResultReason reason

屬性值

指定結果的狀態。

resultId

指定結果識別碼。

string resultId

屬性值

string

指定結果識別碼。

voices

語音清單

VoiceInfo[] voices

屬性值

合成語音清單。