UnitSystemType

abstract class UnitSystemType : Parcelable

Defines types of UnitSystem handling.

Parameters

unitSystem

Current UnitSystem value, fixed of dynamically resolved.

Inheritors

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

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)