InstructionData

data class InstructionData(    val instructionId: InstructionId,     val distanceToInstruction: Distance,     val instructionManeuver: InstructionManeuver?,     val drivingSide: DrivingSide?) : Parcelable

Information about the next guidance instruction.

Parameters

instructionId

Guidance instruction ID.

distanceToInstruction

Distance to instruction.

instructionManeuver

The maneuver the driver is instructed to take. Can be null if this information is not available, or if the maneuver cannot be represented by a child class of InstructionManeuver.

drivingSide

Which side of the road the instruction takes place on. Can be null if this information is not available.

Constructors

Link copied to clipboard
fun InstructionData(    instructionId: InstructionId,     distanceToInstruction: Distance,     instructionManeuver: InstructionManeuver?,     drivingSide: DrivingSide?)

Properties

Link copied to clipboard
val distanceToInstruction: Distance
Link copied to clipboard
val drivingSide: DrivingSide?
Link copied to clipboard
val instructionId: InstructionId
Link copied to clipboard
val instructionManeuver: InstructionManeuver?

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)