Added in API level 35

DisplayLength


class DisplayLength
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.DisplayOptions.DisplayLength>
   ↳ android.icu.text.DisplayOptions.DisplayLength

Represents all the display lengths.

Summary

Enum values

Uses full names when generating a locale name, e.

Use short names when generating a locale name, e.

A possible setting for DisplayLength.

Properties
static MutableList<DisplayOptions.DisplayLength!>!

Unmodifiable List of all display lengths constants.

Enum values

LENGTH_FULL

Added in API level 35
enum val LENGTH_FULL : DisplayOptions.DisplayLength

Uses full names when generating a locale name, e.g. "United States" for US.

LENGTH_SHORT

Added in API level 35
enum val LENGTH_SHORT : DisplayOptions.DisplayLength

Use short names when generating a locale name, e.g. "U.S." for US.

UNDEFINED

Added in API level 35
enum val UNDEFINED : DisplayOptions.DisplayLength

A possible setting for DisplayLength. The DisplayLength context to be used is unknown (this is the default value).

Properties

VALUES

Added in API level 35
static val VALUES: MutableList<DisplayOptions.DisplayLength!>!

Unmodifiable List of all display lengths constants. List version of values().