Class TranslationsController.RuntimeTranslation.LanguageModel

Enclosing class:

public static class TranslationsController.RuntimeTranslation.LanguageModel extends Object
Information about a language model.
  • Field Details

    • language

      @Nullable public final TranslationsController.Language language
      Display language.
    • isDownloaded

      @NonNull public final Boolean isDownloaded
      Model download state
    • size

      public final long size
      Size in bytes for displaying download information.
  • Constructor Details

    • LanguageModel

      public LanguageModel(@Nullable TranslationsController.Language language, Boolean isDownloaded, long size)
      Constructor for the language model.
      language - the language the model is for.
      isDownloaded - if the model is currently downloaded or not.
      size - the size in bytes of the model.
  • Method Details