remove

fun remove(pathId: String, errorCallback: (MPIError?) -> Unit? = null)

Remove an MPINavigatable.MPIPath from all maps it exists on.

Return

Unit

Parameters

pathId

The id of the MPINavigatable.MPIPath to remove.

errorCallback

Callback for when path has been removed, contains an MPIError as the first parameter