NavigationSnapshot
fun NavigationSnapshot( trip: Trip, routes: List<Route>, routeCreationTime: Long, isGuidanceAvailable: Boolean, location: GeoLocation, mapMatchingResult: MapMatchingResult, locationContext: LocationContext, routeProgress: RouteProgress, hasRouteDeviated: Boolean, hasReachedDestination: Boolean, currentInstructionId: UniqueId? = null, proposedRoute: ReplannedRoute? = null, nextWaypoint: Waypoint? = null)
Content copied to clipboard
Parameters
routes
List of routes.
routeCreationTime
Current route's creation timestamp.
isGuidanceAvailable
Indicator of guidance availability.
location
Current location.
mapMatchingResult
Current map-matching result.
routeProgress
Represents current progress along the route.
hasRouteDeviated
Indicator of route deviated.
hasReachedDestination
Indicates if the destination has been reached.
currentInstructionId
Current instruction object.
proposedRoute
Describes the route after replanning.
nextWaypoint
The Waypoint, which the user currently navigates to or null if none.