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
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().
