Class TranslationsController.SessionTranslation.TranslationOptions

Object
org.mozilla.geckoview.TranslationsController.SessionTranslation.TranslationOptions
Enclosing class:
TranslationsController.SessionTranslation

@AnyThread public static class TranslationsController.SessionTranslation.TranslationOptions extends Object
Options available for translating.

Options (default):

downloadModel (true) - Downloads any models automatically that are needed for translation.

  • Field Details

    • downloadModel

      @NonNull public final boolean downloadModel
      If the model should be automatically downloaded or stopped.
  • Constructor Details