UnitSystem

enum UnitSystem : Enum<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). UnitSystem.AUTO will choose UnitSystem.METRIC, UnitSystem.UK or UnitSystem.US based on system settings.

Important: This is a Public Preview API. It may be changed or removed at any time.

Entries

Link copied to clipboard

A measurement system is chosen based on system settings.

Link copied to clipboard

The measurement system specified by Le Système International d'Unités otherwise known as Metric system.

Link copied to clipboard

The measurement system followed in the USA and Puerto Rico.

Link copied to clipboard

A mix of metric and imperial units used in Great Britain.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int