NavigationSnapshot

public struct NavigationSnapshot

Navigation snapshot containing information about the state of the trip at a certain moment

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • The current location

    Declaration

    Swift

    public let location: GeoLocation
  • The last map matching result

    Declaration

    Swift

    public let lastMapMatchingResult: MapMatchingResult
  • The last obtained location context

    Declaration

    Swift

    public let locationContext: LocationContext
  • The active route data

    Declaration

    Swift

    public let activeRouteData: ActiveRouteData?
  • The alternative route plans

    Declaration

    Swift

    public let alternativeRoutePlans: [RoutePlan]
  • The current route progress

    Declaration

    Swift

    public let currentRouteProgress: RouteProgress
  • The current way point state

    Declaration

    Swift

    public let currentWaypointsState: RouteWaypointsState
  • The unit system used for guidance

    Declaration

    Swift

    public let unitSystem: UnitsSystem
  • The language used by Navigation SDK

    Declaration

    Swift

    public let locale: Locale
  • Indicating whether the destination point has been reached

    Declaration

    Swift

    public let hasArrived: Bool
  • The current vehicle snapshot

    Declaration

    Swift

    public let vehicleSnapshot: Vehicle
  • The list of projected routes

    Declaration

    Swift

    public let projectedRoutes: [ProjectedRoute]
  • The list of routes that includes current active route, proposed routes and all alternative routes.

    Declaration

    Swift

    public var routes: [Route] { get }
  • The active route

    Declaration

    Swift

    public var activeRoute: Route? { get }