Added in API level 35

NounClass


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

Represents all the grammatical noun classes that are supported by CLDR.

Summary

Enum values

A possible setting for NounClass.

Public methods
static DisplayOptions.NounClass!
fromIdentifier(identifier: String!)

String!

Properties
static MutableList<DisplayOptions.NounClass!>!

Unmodifiable List of all noun classes constants.

Enum values

ANIMATE

Added in API level 35
enum val ANIMATE : DisplayOptions.NounClass

COMMON

Added in API level 35
enum val COMMON : DisplayOptions.NounClass

FEMININE

Added in API level 35
enum val FEMININE : DisplayOptions.NounClass

INANIMATE

Added in API level 35
enum val INANIMATE : DisplayOptions.NounClass

MASCULINE

Added in API level 35
enum val MASCULINE : DisplayOptions.NounClass

NEUTER

Added in API level 35
enum val NEUTER : DisplayOptions.NounClass

OTHER

Added in API level 35
enum val OTHER : DisplayOptions.NounClass

PERSONAL

Added in API level 35
enum val PERSONAL : DisplayOptions.NounClass

UNDEFINED

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

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

Public methods

fromIdentifier

Added in API level 35
static fun fromIdentifier(identifier: String!): DisplayOptions.NounClass!
Parameters
identifier String!: in lower case such as "feminine" or "masculine"
Return
DisplayOptions.NounClass! the plural category corresponding to the identifier, or UNDEFINED

getIdentifier

Added in API level 35
fun getIdentifier(): String!
Return
String! the lowercase CLDR keyword string for the noun class.

Properties

VALUES

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

Unmodifiable List of all noun classes constants. List version of values().