DurationValue

data class DurationValue(val value: Double? = null, val text: String? = null)

The total duration to travel this route/leg, expressed in seconds (value) and as text. The textual value gives a structured string for duration in the specified language (if available).

Parameters

value The duration in seconds

text

The readable duration value

Constructors

Link copied to clipboard
constructor(value: Double? = null, text: String? = null)

Properties

Link copied to clipboard
@SerializedName(value = "text")
val text: String? = null
Link copied to clipboard
@SerializedName(value = "value")
val value: Double? = null