API reference
API reference
Select your platform
No SDKs available
No versions available

LanguagePackInfo Class

It contains information about a specific language, including its identification tag, and names in both English and the native language. It is useful for applications supporting multiple languages. It can be retrieved using com.meta.horizon.platform.ovr.models.AssetDetails#getLanguage(). Learn more about language pack in our website

Constructors

LanguagePackInfo ( ptr )
Signature
com.meta.horizon.platform.ovr.models.LanguagePackInfo.LanguagePackInfo(final long ptr)
Parameters
ptr: final long

Methods

getEnglishName ()
Language name in English language. For example, the English name for "de.lang" will be "German".
Signature
String com.meta.horizon.platform.ovr.models.LanguagePackInfo.getEnglishName()
Returns
String  String
getNativeName ()
Language name in its native language. For example, the native name for "de.lang" will be "Deutsch".
Signature
String com.meta.horizon.platform.ovr.models.LanguagePackInfo.getNativeName()
Returns
String  String
getTag ()
Language tag in BCP47 format with a suffix of "lang". For example, "de.lang" is a valid language pack name and its tag will be "de".
Signature
String com.meta.horizon.platform.ovr.models.LanguagePackInfo.getTag()
Returns
String  String