SynthesisVoicesResult class

Defines result of speech synthesis.

Extends

Constructors

SynthesisVoicesResult(string, any, string)

Creates and initializes an instance of this class.

Properties

errorDetails

In case of an unsuccessful synthesis, provides details of the occurred error.

properties

The set of properties exposed in the result.

reason

Specifies status of the result.

resultId

Specifies the result identifier.

voices

The list of voices

Constructor Details

SynthesisVoicesResult(string, any, string)

Creates and initializes an instance of this class.

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

Parameters

requestId

string

result id for request.

json

any

json payload from endpoint.

errorDetails

string

Property Details

errorDetails

In case of an unsuccessful synthesis, provides details of the occurred error.

string errorDetails

Property Value

string

a brief description of an error.

properties

The set of properties exposed in the result.

PropertyCollection properties

Property Value

The set of properties exposed in the result.

reason

Specifies status of the result.

ResultReason reason

Property Value

Specifies status of the result.

resultId

Specifies the result identifier.

string resultId

Property Value

string

Specifies the result identifier.

voices

The list of voices

VoiceInfo[] voices

Property Value

List of synthesized voices.