departFromWaypoint
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.
Use this method to manually mark a departure from a waypoint when the arrival detection mechanism is not sufficient; for example, in scenarios such as when the waypoint is a charging station, and the user wishes to trigger immediate replanning after insufficient charging by marking the waypoint as departed, or during delivery operations when the driver must manually confirm departure in cases of route deviations from the planned route.
As a result of successful action, the following listener is notified:
WaypointArrivalListener, with the departed RouteStop, and its reference Route.
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
The waypoint to depart from.
Throws
if a specified waypoint has not been arrived at.