Added in API level 24
Category
class Category
kotlin.Any | ||
↳ | kotlin.Enum<java.util.Locale.Category> | |
↳ | java.util.Locale.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 dates, numbers, and/or currencies. |
Enum values
DISPLAY
Added in API level 24
enum val DISPLAY : Locale.Category
Category used to represent the default locale for displaying user interfaces.
FORMAT
Added in API level 24
enum val FORMAT : Locale.Category
Category used to represent the default locale for formatting dates, numbers, and/or currencies.