Package-level declarations

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
data class FormattedDistance(val distance: String, val unit: String)

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).