NavigationSnapshot

public struct NavigationSnapshot

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

Because it provides other engines with input data, the navigation snapshot always contains current information about the navigation session, such as current location, matched location, and progress along a route. It is updated whenever new values are available.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • 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
  • 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 }