Added in API level 24

Category


class Category
kotlin.Any
   ↳ kotlin.Enum<android.icu.util.ULocale.Category>
   ↳ android.icu.util.ULocale.Category

Enum for locale categories. These locale categories are used to get/set the default locale for the specific functionality represented by the category.

Summary

Enum values

Category used to represent the default locale for displaying user interfaces.

Category used to represent the default locale for formatting date, number and/or currency.

Enum values

DISPLAY

Added in API level 24
enum val DISPLAY : ULocale.Category

Category used to represent the default locale for displaying user interfaces.

FORMAT

Added in API level 24
enum val FORMAT : ULocale.Category

Category used to represent the default locale for formatting date, number and/or currency.