TranslationSynthesisResult Class

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

Inheritance
builtins.object
TranslationSynthesisResult

Constructor

TranslationSynthesisResult(*args, **kwargs)

Attributes

audio

The synthesized translation result as a bytes object

reason

The reason for the result