android.view.translation


Interfaces

UiTranslationStateCallback

Callback for listening to UI Translation state changes.

ViewTranslationCallback

Callback for handling the translated information show or hide in the View.

Classes

TranslationCapability

Capability class holding information for a pair of TranslationSpecs.

TranslationContext

Info class holding information for Translators and used by TranslationManager.createOnDeviceTranslator(TranslationContext, Executor, Consumer).

TranslationManager

The TranslationManager class provides ways for apps to integrate and use the translation framework.

TranslationRequest

Translation request sent to the translation service by the android.view.translation.Translator which contains the text to be translated.

TranslationRequestValue

A value to be translated via android.view.translation.Translator.

TranslationResponse

Response from the translation service, which contains the translated result.

TranslationResponseValue

A translated response value from translation service.

TranslationSpec

Specs and additional info for the translation data.

Translator

The Translator for translation, defined by a TranslationContext.

UiTranslationManager

The UiTranslationManager class provides ways for apps to use the ui translation function in framework.

ViewTranslationRequest

Wrapper class representing a translation request associated with a android.view.View to be used by translation service.

ViewTranslationResponse

Wrapper class representing a translation response associated with a android.view.View to be used by translation service.