AI-generated Key Takeaways
-
TranslateRemoteModelprovides information about a downloaded or to-be-downloaded translation model. -
You should not instantiate
TranslateRemoteModelwith English as it is built-in and cannot be downloaded or deleted. -
The
getLanguage()method returns the language associated with the translation model.
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.