Package-level declarations
This package contains classes related to the unit system and formatted distance.
UnitSystem that provides unit system information to the SDK.
FormattedDistance that acts as a container for a formatted distance.
DistanceConversionInfo that defines how distance should be converted.
Types
Link copied to clipboard
data class DistanceConversionInfo(val step: Double, val outputUnit: Distance.Unit, val skipDecimalPointIfWholeNumber: Boolean = false)
Defines details how Distance should be converted for a given DistanceFormattingRange.
Link copied to clipboard
Container for a formatted distance.
Link copied to clipboard
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).