Package org.mozilla.geckoview
Class TranslationsController.RuntimeTranslation.ModelManagementOptions
Object
org.mozilla.geckoview.TranslationsController.RuntimeTranslation.ModelManagementOptions
- Enclosing class:
- TranslationsController.RuntimeTranslation
@AnyThread
public static class TranslationsController.RuntimeTranslation.ModelManagementOptions
extends Object
Options for managing the translation language models.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for Model Management Options -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ModelManagementOptions
(TranslationsController.RuntimeTranslation.ModelManagementOptions.Builder builder) Options for managing the toolkit provided language model binaries. -
Method Summary
-
Field Details
-
language
BCP 47 language or null for global operations. -
operation
Operation to perform on the language model. -
operationLevel
Level of operation
-
-
Constructor Details
-
ModelManagementOptions
protected ModelManagementOptions(@NonNull TranslationsController.RuntimeTranslation.ModelManagementOptions.Builder builder) Options for managing the toolkit provided language model binaries.- Parameters:
builder
- model management options builder
-