DisplayOptions.DisplayLength


public static final enum DisplayOptions.DisplayLength
extends Enum<DisplayOptions.DisplayLength>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.DisplayOptions.DisplayLength>
     ↳ android.icu.text.DisplayOptions.DisplayLength


Represents all the display lengths.

Summary

Enum values

DisplayOptions.DisplayLength  LENGTH_FULL

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

DisplayOptions.DisplayLength  LENGTH_SHORT

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

DisplayOptions.DisplayLength  UNDEFINED

A possible setting for DisplayLength. 

Fields

public static final List<DisplayOptions.DisplayLength> VALUES

Unmodifiable List of all display lengths constants.

Public methods

static DisplayOptions.DisplayLength valueOf(String name)
static final DisplayLength[] values()

Inherited methods

Enum values

LENGTH_FULL

public static final DisplayOptions.DisplayLength LENGTH_FULL

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

LENGTH_SHORT

public static final DisplayOptions.DisplayLength LENGTH_SHORT

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

UNDEFINED

public static final DisplayOptions.DisplayLength UNDEFINED

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

Fields

VALUES

public static final List<DisplayOptions.DisplayLength> VALUES

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

Public methods

valueOf

public static DisplayOptions.DisplayLength valueOf (String name)

Parameters
name String

Returns
DisplayOptions.DisplayLength

values

public static final DisplayLength[] values ()

Returns
DisplayLength[]