com.google.mlkit.genai.speechtranslation

Interfaces

SpeechTranslatorResponse

The response from the speech translator.

Classes

SpeechTranslator

Provides an interface for performing on device speech translation.

SpeechTranslatorOptions

Options for SpeechTranslator.

SpeechTranslatorOptions.Builder

Builder for SpeechTranslatorOptions.

SpeechTranslatorOptionsKt
SpeechTranslatorRequest

Request for SpeechTranslator.

SpeechTranslatorRequest.Builder

Builder for SpeechTranslatorRequest.

SpeechTranslatorRequestKt
SpeechTranslatorResponse.Audio

Represents a successful audio output result.

SpeechTranslatorResponse.ErrorResponse

Represents an error that occurred during translation.

SpeechTranslatorResponse.Text

Represents a successful text translation result.

TranslationAudio

Represents an audio packet for the speech translator.

SpeechTranslation

Entry point to get a SpeechTranslator for speech translation.

SpeechTranslatorResponse.CompletedResponse

Represents the completion of the translation session.