UnitSystemType

abstract class UnitSystemType

Defines types of UnitSystem handling.

Parameters

unitSystem

Current UnitSystem value, fixed of dynamically resolved.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Dynamic(initialUnitSystem: UnitSystem) : UnitSystemType

Dynamic UnitSystem type - unitSystem value is updated based on current location country.

Link copied to clipboard
data class Fixed(fixedUnitSystem: UnitSystem) : UnitSystemType

Fixed UnitSystem type - once defined the unitSystem value provided is always used.

Properties

Link copied to clipboard

Inheritors

Link copied to clipboard
Link copied to clipboard