getDirections

open override fun getDirections(    to: MPINavigatable,     from: MPINavigatable,     accessible: Boolean,     directionsCallback: (MPIDirections?) -> Unit)

Get directions to a MPINavigatable (MPINavigatable.MPINode, MPINavigatable.MPILocation, MPINavigatable.MPIPolygon) from another MPINavigatable

Return

Unit

Parameters

to

The destination MPINavigatable for the directions

from

The starting MPINavigatable for the directions

accessible

Whether or not the directions are accessible (uses connections that are accessible), defaults to true

directionsCallback

The callback that contains the MPIDirections


open suspend override fun getDirections(    to: MPINavigatable,     from: MPINavigatable,     accessible: Boolean): MPIDirections

Get directions to a MPINavigatable (MPINavigatable.MPINode, MPINavigatable.MPILocation, MPINavigatable.MPIPolygon) from another MPINavigatable

Return

the MPIDirections explaining how to navigate between the two MPINavigatables

Parameters

to

The destination MPINavigatable for the directions

from

The starting MPINavigatable for the directions

accessible

Whether or not the directions are accessible (uses connections that are accessible), defaults to true


open override fun getDirections(    to: MPIDestinationSet,     from: MPINavigatable,     accessible: Boolean,     directionsCallback: (List<MPIDirections>?) -> Unit)

Get directions to a MPIDestinationSet (MPINavigatable.MPINode, MPINavigatable.MPILocation, MPINavigatable.MPIPolygon) from another MPINavigatable

Return

Unit

Parameters

to

The multi destination list of MPINavigatables for the directions

from

The starting MPINavigatable for the directions

accessible

Whether or not the directions are accessible (uses connections that are accessible), defaults to true

directionsCallback

The callback that contains the MPIDirections


open suspend override fun getDirections(    to: MPIDestinationSet,     from: MPINavigatable,     accessible: Boolean): List<MPIDirections>

Get directions to a MPIDestinationSet (MPINavigatable.MPINode, MPINavigatable.MPILocation, MPINavigatable.MPIPolygon) from another MPINavigatable

Return

List<MPIDirections> explaining how to navigate between the MPINavigatables

Parameters

to

The multi destination list of MPINavigatables for the directions

from

The starting MPINavigatable for the directions

accessible

Whether or not the directions are accessible (uses connections that are accessible), defaults to true