Milestone
abstract class Milestone(val identifier: Int, instruction: Instruction? = null, val trigger: Trigger.Statement? = null)
Base Milestone statement. Subclassed to provide concrete statements.
Since
0.4.0
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun isOccurring(previousRouteProgress: RouteProgress?, routeProgress: RouteProgress): Boolean
A milestone can either be passed in to the MapLibreNavigation object (recommended) or validated directly inside your activity.