Package-level declarations

Types

Link copied to clipboard

The format that defines in what units the Distance should be formatted.

Link copied to clipboard

Class that can be used to format a given distance according to TomTom distance formatting rules. Default format is DistanceFormat.KILOMETERS_AND_METERS.

Link copied to clipboard
Link copied to clipboard

Represents a formatted distance and units. Clients should use DistanceFormatter.formatDistance to format a distance according to its raw value and DistanceFormat.

Properties

Link copied to clipboard
const val FEET_PER_MILE: Double = 5280.0
Link copied to clipboard
const val METERS_PER_KILOMETER: Double = 1000.0
Link copied to clipboard
const val METERS_PER_MILE: Double = 1609.344
Link copied to clipboard
const val YARDS_PER_MILE: Double = 1760.0