Added in API level 35

GrammaticalCase


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

Represents all the grammatical cases that are supported by CLDR.

Summary

Enum values

A possible setting for GrammaticalCase.

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

String!

Properties
static MutableList<DisplayOptions.GrammaticalCase!>!

Unmodifiable List of all grammatical cases constants.

Enum values

ABLATIVE

Added in API level 35
enum val ABLATIVE : DisplayOptions.GrammaticalCase

ACCUSATIVE

Added in API level 35
enum val ACCUSATIVE : DisplayOptions.GrammaticalCase

COMITATIVE

Added in API level 35
enum val COMITATIVE : DisplayOptions.GrammaticalCase

DATIVE

Added in API level 35
enum val DATIVE : DisplayOptions.GrammaticalCase

ERGATIVE

Added in API level 35
enum val ERGATIVE : DisplayOptions.GrammaticalCase

GENITIVE

Added in API level 35
enum val GENITIVE : DisplayOptions.GrammaticalCase

INSTRUMENTAL

Added in API level 35
enum val INSTRUMENTAL : DisplayOptions.GrammaticalCase

LOCATIVE

Added in API level 35
enum val LOCATIVE : DisplayOptions.GrammaticalCase

LOCATIVE_COPULATIVE

Added in API level 35
enum val LOCATIVE_COPULATIVE : DisplayOptions.GrammaticalCase

NOMINATIVE

Added in API level 35
enum val NOMINATIVE : DisplayOptions.GrammaticalCase

OBLIQUE

Added in API level 35
enum val OBLIQUE : DisplayOptions.GrammaticalCase

PREPOSITIONAL

Added in API level 35
enum val PREPOSITIONAL : DisplayOptions.GrammaticalCase

SOCIATIVE

Added in API level 35
enum val SOCIATIVE : DisplayOptions.GrammaticalCase

UNDEFINED

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

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

VOCATIVE

Added in API level 35
enum val VOCATIVE : DisplayOptions.GrammaticalCase

Public methods

fromIdentifier

Added in API level 35
static fun fromIdentifier(identifier: String!): DisplayOptions.GrammaticalCase!
Parameters
identifier String!: in lower case such as "dative" or "nominative"
Return
DisplayOptions.GrammaticalCase! 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 grammatical case.

Properties

VALUES

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

Unmodifiable List of all grammatical cases constants. List version of values().