Most visited

Recently visited

Added in API level 24

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

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[]

Hooray!