Package-level declarations

Types

Link copied to clipboard
open class BannerInstructionMilestone(val identifier: Int, instruction: Instruction? = null, val trigger: Trigger.Statement? = null, routeUtils: RouteUtils = RouteUtils()) : Milestone

A default milestone that is added to MapLibreNavigation when default milestones are enabled.

Link copied to clipboard
abstract class Milestone(val identifier: Int, instruction: Instruction? = null, val trigger: Trigger.Statement? = null)

Base Milestone statement. Subclassed to provide concrete statements.

Link copied to clipboard
Link copied to clipboard
object Operation

Extracted operation methods are found in this class and are fundamental to how Triggers work.

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

Link copied to clipboard
open class StepMilestone(val identifier: Int, instruction: Instruction? = null, val trigger: Trigger.Statement? = null) : Milestone

Using a Step Milestone will result in MilestoneEventListener.onMilestoneEvent being invoked every step if the condition validation returns true.

Link copied to clipboard
object Trigger

Utility to build Trigger expressions more easily.

Link copied to clipboard

The currently support properties used for triggering a milestone.

Link copied to clipboard
open class VoiceInstructionMilestone(val identifier: Int, instruction: Instruction? = null, val trigger: Trigger.Statement? = null, routeUtils: RouteUtils = RouteUtils()) : Milestone

A default milestone that is added to MapLibreNavigation when default milestones are enabled.