SpeechTranslatorResponse

sealed interface SpeechTranslatorResponse

Known direct subclasses
SpeechTranslatorResponse.Audio

Represents a successful audio output result.

SpeechTranslatorResponse.CompletedResponse

Represents the completion of the translation session.

SpeechTranslatorResponse.ErrorResponse

Represents an error that occurred during translation.

SpeechTranslatorResponse.Text

Represents a successful text translation result.


The response from the speech translator.

Summary

Nested types

Represents a successful audio output result.

Represents the completion of the translation session.

Represents an error that occurred during translation.

Represents a successful text translation result.