MPIInstruction

@Serializable
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
constructor(    action: MPIDirections.MPIAction? = null,     instruction: String?,     node: MPINavigatable.MPINode? = null,     distance: Double?,     atVortex: MPINavigatable.MPIVortex? = null)

Properties

Link copied to clipboard

An optional action being performed at a node

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

An optional string instruction to display to user

Link copied to clipboard

An optional node where instruction takes place at