ListFormatter.Width


public static final enum ListFormatter.Width
extends Enum<ListFormatter.Width>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.ListFormatter.Width>
     ↳ android.icu.text.ListFormatter.Width


Verbosity level of the list patterns.

Summary

Enum values

ListFormatter.Width  NARROW

Use list formatting of the shortest possible length. 

ListFormatter.Width  SHORT

Use list formatting of typical length. 

ListFormatter.Width  WIDE

Use list formatting with full words (no abbreviations) when possible. 

Public methods

static ListFormatter.Width valueOf(String name)
static final Width[] values()

Inherited methods

Enum values

NARROW

Added in API level 33
public static final ListFormatter.Width NARROW

Use list formatting of the shortest possible length.

SHORT

Added in API level 33
public static final ListFormatter.Width SHORT

Use list formatting of typical length.

WIDE

Added in API level 33
public static final ListFormatter.Width WIDE

Use list formatting with full words (no abbreviations) when possible.

Public methods

valueOf

public static ListFormatter.Width valueOf (String name)

Parameters
name String

Returns
ListFormatter.Width

values

public static final Width[] values ()

Returns
Width[]