We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesML Kitmlsdk.translatemlsdk.translate.localMLLocalTranslateSettingOverview

MLLocalTranslateSetting

class info
com.huawei.hms.mlsdk.translate.local.MLLocalTranslateSetting
Local offline text translation configurator.

Public Method Summary

Return typeMethod name
booleanequals(Object obj)
StringgetSourceLangCode()
StringgetTargetLangCode()
inthashCode()

Public Methods

Method
public boolean equals(Object obj)
Checks whether two instances are equal.

Parameters

Parameter nameParameter desc
objInstance to be compared.

Return

Typedesc
booleantrue if the two instances are equal; false otherwise.
Method
public String getSourceLangCode()
Obtains the source language code.

Return

Typedesc
StringSource language code.
Method
public String getTargetLangCode()
Obtains the target language code.

Return

Typedesc
StringTarget language code.
Method
public int hashCode()
Obtains the hash value of the current instance.

Return

Typedesc
intHash value of the current instance.
This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.