DistanceInstructions

data class DistanceInstructions(val action: Int? = null, val summary: String? = null, val verbalAlert: String? = null, val verbalSuccint: String? = null, val verbalBefore: String? = null, val verbalAfter: String? = null)

Formatted instructions for this leg

Parameters

action

The action to take for the current step (turn left, merge, straight, etc.). See list of available actions.

summary

Written maneuver instruction.

verbalAlert

The transition alert instruction will prepare the user for the forthcoming transition.

verbalSuccint

Text suitable for use as a verbal alert in a navigation application

verbalBefore

Text suitable for use as a verbal message immediately prior to the maneuver transition

verbalAfter

Text suitable for use as a verbal message immediately after the maneuver transition

Constructors

Link copied to clipboard
constructor(action: Int? = null, summary: String? = null, verbalAlert: String? = null, verbalSuccint: String? = null, verbalBefore: String? = null, verbalAfter: String? = null)

Properties

Link copied to clipboard
@SerializedName(value = "action")
val action: Int? = null
Link copied to clipboard
@SerializedName(value = "summary")
val summary: String? = null
Link copied to clipboard
@SerializedName(value = "verbal_after")
val verbalAfter: String? = null
Link copied to clipboard
@SerializedName(value = "verbal_alert")
val verbalAlert: String? = null
Link copied to clipboard
@SerializedName(value = "verbal_before")
val verbalBefore: String? = null
Link copied to clipboard
@SerializedName(value = "verbal_succint")
val verbalSuccint: String? = null