LocalizationSettingsService

Localization settings service to interact with localization related settings. Clients can, for instance, get the activeTemperatureDisplayUnit to know if the temperature values should be displayed using Celsius or Fahrenheit.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Distance measurement system for displaying distance values. METRIC represents the Metric measurement system. IMPERIAL represents the Imperial measurement system.

Properties

Link copied to clipboard

Currently active distance measurement system.

Link copied to clipboard
abstract val activeTemperatureDisplayUnit: Temperature.Unit

Currently active temperature display units.

Functions

Link copied to clipboard

Sets the active distance measurement system.

Link copied to clipboard
abstract suspend fun setActiveTemperatureDisplayUnit(temperatureDisplayUnit: Temperature.Unit)

Sets the active temperature display unit.