Added in API level 33

Type

class Type
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.ListFormatter.Type>
   ↳ android.icu.text.ListFormatter.Type

Type of meaning expressed by the list.

Summary

Enum values

Conjunction formatting, e.

Disjunction (or alternative, or simply one of) formatting, e.

Formatting of a list of values with units, e.

Enum values

AND

Added in API level 33
enum val AND : ListFormatter.Type

Conjunction formatting, e.g. "Alice, Bob, Charlie, and Delta".

OR

Added in API level 33
enum val OR : ListFormatter.Type

Disjunction (or alternative, or simply one of) formatting, e.g. "Alice, Bob, Charlie, or Delta".

UNITS

Added in API level 33
enum val UNITS : ListFormatter.Type

Formatting of a list of values with units, e.g. "5 pounds, 12 ounces".