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(android.icu.util.ULocale, android.icu.text.LocaleDisplayNames.DialectHandling).

Summary

Enum values

LocaleDisplayNames.DialectHandling  DIALECT_NAMES

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

LocaleDisplayNames.DialectHandling  STANDARD_NAMES

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

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

public static LocaleDisplayNames.DialectHandling valueOf (String name)

Parameters
name String

Returns
LocaleDisplayNames.DialectHandling

values

public static final DialectHandling[] values ()

Returns
DialectHandling[]