M P I Action
data class MPIAction(type: MPIActionType?, bearing: MPIBearingType?, referencePosition: String?, fromMap: MPIMap?, toMap: MPIMap?)
Content copied to clipboard
This class represents the type of action to be taken in a specific MPIInstruction
Constructors
MPIAction
Link copied to clipboard
fun MPIAction(type: MPIActionType?, bearing: MPIBearingType? = null, referencePosition: String? = null, fromMap: MPIMap? = null, toMap: MPIMap? = null)
Content copied to clipboard
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(type: MPIActionType?, bearing: MPIBearingType? = null, referencePosition: String? = null, fromMap: MPIMap? = null, toMap: MPIMap? = null): MPIDirections.MPIAction
Content copied to clipboard
Properties
bearing
Link copied to clipboard
If the type is MPIActionType.TURN, there is also a bearing type of the MPIAction; otherwise, bearing type is null.
fromMap
Link copied to clipboard
If the type of a MPIAction is MPIActionType.TAKEVORTEX or MPIActionType.EXITVORTEX, fromMap represents the MPIMap of departure; otherwise, fromMap is null.
referencePosition
Link copied to clipboard
toMap
Link copied to clipboard
If the type of a MPIActionis MPIActionType.TAKEVORTEX or MPIActionType.EXITVORTEX, toMap represents the MPIMap of destination; otherwise, toMap is null.
type
Link copied to clipboard