departFromWaypoint

abstract fun departFromWaypoint(waypoint: RouteStop)

Marks a departure from the given waypoint independently from ArrivalDetectionEngine.hasArrivedAtWaypoint.

If a specified waypoint has already been departed from, this method has no effect.

As a result of successful action, the following listener is notified:

Notification via WaypointArrivalListener.onWaypointDeparted completes arrival detection for that particular waypoint. Navigation switches to arrival detection for the next waypoint if there is one present.

Parameters

waypoint

The waypoint to depart from.

Throws

if a specified waypoint has not been arrived at.