isArrivalEvent

fun isArrivalEvent(routeProgress: RouteProgress, milestone: Milestone): Boolean

Looks at the current RouteProgress maneuverType for type "arrival", then checks if the arrival meter threshold has been hit.

Return

true if in arrival state, false if not

Since

0.8.0

Parameters

routeProgress

the current route progress

milestone

the current milestone from the MilestoneEventListener