MPIInstruction

data class MPIInstruction(    val action: MPIDirections.MPIAction? = null,     val instruction: String?,     val node: MPINavigatable.MPINode? = null,     val distance: Double?,     var atVortex: MPINavigatable.MPIVortex? = null)

This class represents a singular step or instruction of a MPIDirections

Constructors

Link copied to clipboard
fun MPIInstruction(    action: MPIDirections.MPIAction? = null,     instruction: String?,     node: MPINavigatable.MPINode? = null,     distance: Double?,     atVortex: MPINavigatable.MPIVortex? = null)

Properties

Link copied to clipboard
val action: MPIDirections.MPIAction? = null

An optional action being performed at a node

Link copied to clipboard
var atVortex: MPINavigatable.MPIVortex? = null
Link copied to clipboard
val distance: Double?
Link copied to clipboard
val instruction: String?

An optional string instruction to display to user

Link copied to clipboard
val node: MPINavigatable.MPINode? = null

An optional node where instruction takes place at