RouteSnapshot

public struct RouteSnapshot

Snapshot of the route.

  • The route plan.

    Declaration

    Swift

    public let routePlan: RoutePlan
  • The number of waypoints already visited on the route.

    Declaration

    Swift

    public let numberOfVisitedWaypoints: Int
  • The route stop to which the user is currently navigating to, or nil if the user is navigating directly to the destination.

    Declaration

    Swift

    public let nextWaypoint: RouteStop?
  • The current progress along the route.

    Important

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

    Declaration

    Swift

    public let routeProgress: RouteProgress
  • The history of waypoint statuses.

    Declaration

    Swift

    public let waypointStatusHistory: [WaypointStatus]