LocalePreferences.TemperatureUnit


class LocalePreferences.TemperatureUnit


APIs to get the user's preference of temperature unit.

Summary

Constants

const String!
CELSIUS = "celsius"

Celsius

const String!
DEFAULT = ""

Default Temperature for the locale

const String!
FAHRENHEIT = "fahrenhe"

Fahrenheit

const String!
KELVIN = "kelvin"

Kelvin

Constants

CELSIUS

Added in 1.12.0
const val CELSIUS = "celsius": String!

Celsius

DEFAULT

Added in 1.12.0
const val DEFAULT = "": String!

Default Temperature for the locale

FAHRENHEIT

Added in 1.12.0
const val FAHRENHEIT = "fahrenhe": String!

Fahrenheit

KELVIN

Added in 1.12.0
const val KELVIN = "kelvin": String!

Kelvin