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

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard

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.