Added in API level 24

DialectHandling


class DialectHandling
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.LocaleDisplayNames.DialectHandling>
   ↳ android.icu.text.LocaleDisplayNames.DialectHandling

Enum used in getInstance(android.icu.util.ULocale,android.icu.text.LocaleDisplayNames.DialectHandling).

Summary

Enum values

Use dialect names when generating a locale name, e.

Use standard names when generating a locale name, e.

Enum values

DIALECT_NAMES

Added in API level 24
enum val DIALECT_NAMES : LocaleDisplayNames.DialectHandling

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

STANDARD_NAMES

Added in API level 24
enum val STANDARD_NAMES : LocaleDisplayNames.DialectHandling

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