NavigationManager
Drives the positioning engine navigation under the hood, re-broadcasting events to two sets of Kotlin listeners: one-shot and persistent.
Implements the engine's EngineNavigationCallback and translates engine types into SDK wrapper types before broadcasting to SDK-level NavigationCallback listeners.
Functions
Link copied to clipboard
Register a listener for all future navigation events
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onRouteInstruction(currentInstruction: RoutePointInstruction, nextInstruction: RoutePointInstruction, afterNextInstruction: RoutePointInstruction)
Link copied to clipboard
open override fun onRouteRecalculation(state: NavigationState, newRoute: Route, pathType: RoutePathType)
Link copied to clipboard
open override fun onRouteSegmentReached(currentSegment: RoutePathSegment, visitedSegments: List<RoutePathSegment>, upcomingSegments: List<RoutePathSegment>)
Link copied to clipboard
Link copied to clipboard
Unregister a persistent listener
Link copied to clipboard
fun startNavigationMode(route: Route, routePathType: RoutePathType, options: RoutingOptions, constraints: RoutingConstraints, listener: NavigationCallback?)
Link copied to clipboard