AI-generated Key Takeaways
-
TranslateRemoteModel
provides information about downloaded or to-be-downloaded translation models. -
It's recommended to avoid instantiating this class with the English language as it's built-in and instances for English cannot be downloaded or deleted.
-
You can get the language associated with the model using
getLanguage()
and use theTranslateRemoteModel.Builder
nested class for object creation.
Information about a downloaded or to-be-downloaded model for translation.
Please do not instantiate with English language given it is built-in. Otherwise such instance cannot be downloaded or deleted.
Nested Class Summary
class | TranslateRemoteModel.Builder | Builder for a TranslateRemoteModel . |
Public Method Summary
boolean | |
String |
getLanguage()
The
TranslateLanguage.Language associated with this model.
|
int |
hashCode()
Returns a hash code value for the object.
|
Inherited Method Summary
Public Methods
public boolean equals (Object o)
Indicates whether some other object is "equal to" this one.
public String getLanguage ()
The TranslateLanguage.Language
associated with this model.
public int hashCode ()
Returns a hash code value for the object.