Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
| class info |
| com.huawei.hms.mlsdk.translate.local.MLLocalTranslatorModel |
| Local offline text translation model. |
| Return type | Method name |
| boolean | equals(Object obj) |
| String | getLanguageCode() |
| int | hashCode() |
| Method |
| public boolean equals(Object obj) |
| Checks whether two instances are equal. |
Parameters
| Parameter name | Parameter desc |
| obj | Instance to be compared. |
Return
| Type | desc |
| boolean | true if the two instances are equal; false otherwise. |
| Method |
| public String getLanguageCode() |
| Obtains the target language code (ISO 639-1 standard) of the model. |
Return
| Type | desc |
| String | Target language code (ISO 639-1 standard). |
| Method |
| public int hashCode() |
| Obtains the hash value of the current instance. |
Return
| Type | desc |
| int | Hash value of the current instance. |