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

  • Location information of current navigation session.

    Important

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

    Declaration

    Swift

    public let locationSnapshot: LocationSnapshot
  • Sequence of visited locations and driven distance.

    Important

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

    Declaration

    Swift

    public let historySnapshot: DrivingHistorySnapshot
  • Configuration of current navigation session.

    Important

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

    Declaration

    Swift

    public let configurationSnapshot: ConfigurationSnapshot
  • Trip status information of current navigation session.

    Important

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

    Declaration

    Swift

    public let tripSnapshot: TripSnapshot?
  • The current vehicle snapshot.

    Important

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

    Declaration

    Swift

    public let vehicleSnapshot: any Vehicle
  • The list of routes that includes current active route, proposed routes and all alternative routes.

    Important

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

    Declaration

    Swift

    public var routes: [Route] { get }