PMCalculateRouteResult

data class PMCalculateRouteResult(val id: Int = 0, val label: String? = null, val duration: Int = 0, val distance: Int = 0, val eta: String? = null)

Calculate route response

Constructors

Link copied to clipboard
fun PMCalculateRouteResult(id: Int = 0, label: String? = null, duration: Int = 0, distance: Int = 0, eta: String? = null)

Properties

Link copied to clipboard
val distance: Int = 0

Route distance in meters

Link copied to clipboard
val duration: Int = 0

Duration of the route in seconds

Link copied to clipboard
val eta: String? = null

Estimated time of arrival in the ISO-8601 date-time format extended by offset

Link copied to clipboard
val id: Int = 0

Identificator for the start guidance command

Link copied to clipboard
val label: String? = null

Special label of the route