NavigationCallback
interface NavigationCallback
Functions
Link copied to clipboard
Implements this method to handle reached destination.
Link copied to clipboard
Called when the navigation engine fails to initialize due to a routing or setup error.
Link copied to clipboard
Called when the navigation engine has successfully initialized with the provided route path.
Link copied to clipboard
User stopped navigation prior to reaching destination
Link copied to clipboard
abstract fun onRouteInstruction(currentInstruction: RoutePointInstruction, nextInstruction: RoutePointInstruction, afterInstruction: RoutePointInstruction?)
Implement this method to handle routing instructions.
Link copied to clipboard
abstract fun onRouteRecalculation(state: NavigationState, newRoute: Route, routePathType: RoutePathType)
Implements this method to handle routing recalculation.
Link copied to clipboard
abstract fun onRouteSegmentReached(currentSegment: RoutePathSegment, visitedSegments: List<RoutePathSegment>, upcomingSegments: List<RoutePathSegment>)
Implement this method to be notified when the user has moved to the next segment of the route.
Link copied to clipboard
Implement this method to be notified of the user's progress along the current route segment.