RouteMilestone

open class RouteMilestone(val identifier: Int, instruction: Instruction?, val trigger: Trigger.Statement?) : Milestone

Using a Route Milestone will result in MilestoneEventListener.onMilestoneEvent being invoked only once during a navigation session.

Since

0.4.0

Constructors

Link copied to clipboard
constructor(identifier: Int, instruction: Instruction?, trigger: Trigger.Statement?)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override 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.