LocaleDisplayNames.DialectHandling

public static final enum LocaleDisplayNames.DialectHandling
extends Enum<LocaleDisplayNames.DialectHandling>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.LocaleDisplayNames.DialectHandling>
     ↳ android.icu.text.LocaleDisplayNames.DialectHandling


Enum used in getInstance(ULocale, DialectHandling).

Summary

Enum values

LocaleDisplayNames.DialectHandling  DIALECT_NAMES

Use dialect names when generating a locale name, e.g. 

LocaleDisplayNames.DialectHandling  STANDARD_NAMES

Use standard names when generating a locale name, e.g. 

Public methods

static LocaleDisplayNames.DialectHandling valueOf(String name)
static final DialectHandling[] values()

Inherited methods

Enum values

DIALECT_NAMES

added in API level 24
LocaleDisplayNames.DialectHandling DIALECT_NAMES

Use dialect names when generating a locale name, e.g. en_GB displays as 'British English'.

STANDARD_NAMES

added in API level 24
LocaleDisplayNames.DialectHandling STANDARD_NAMES

Use standard names when generating a locale name, e.g. en_GB displays as 'English (United Kingdom)'.

Public methods

valueOf

added in API level 24
LocaleDisplayNames.DialectHandling valueOf (String name)

Parameters
name String

Returns
LocaleDisplayNames.DialectHandling

values

added in API level 24
DialectHandling[] values ()

Returns
DialectHandling[]