UnitSystem

Preferred system of measurement. Choose UnitSystem.Metric for the metric system (meters, kilometers), or, for the imperial system, UnitSystem.UK (miles, yards) or UnitSystem.US (miles, feet).

Parameters

type

An internal identifier representing the specific measurement system.

Constructors

Link copied to clipboard
constructor(parcel: Parcel)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the UnitSystem.

Inherited functions

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