TranslationSynthesisResult class

Defines translation synthesis result, i.e. the voice output of the translated text in the target language.

Constructors

TranslationSynthesisResult(ResultReason, ArrayBuffer)

Creates and initializes an instance of this class.

Properties

audio

Translated text in the target language.

reason

The synthesis status.

Constructor Details

TranslationSynthesisResult(ResultReason, ArrayBuffer)

Creates and initializes an instance of this class.

new TranslationSynthesisResult(reason: ResultReason, audio: ArrayBuffer)

Parameters

reason
ResultReason

The synthesis reason.

audio
ArrayBuffer

The audio data.

Property Details

audio

Translated text in the target language.

public audio: ArrayBuffer

Property Value

ArrayBuffer

reason

The synthesis status.

public reason: ResultReason

Property Value