lightbulb_outline Please take our October 2018 developer survey. Start survey

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 LocaleDisplayNames.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
public static final 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
public static final 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
public static LocaleDisplayNames.DialectHandling valueOf (String name)

Parameters
name String

Returns
LocaleDisplayNames.DialectHandling

values

added in API level 24
public static final DialectHandling[] values ()

Returns
DialectHandling[]