RouteSnapshot

public struct RouteSnapshot

Snapshot of the route.

Important

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

    Important

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

    Declaration

    Swift

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

    Important

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

    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.

    Important

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

    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.

    Important

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

    Declaration

    Swift

    public let waypointStatusHistory: [WaypointStatus]