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.

  • Location information of current navigation session.

    Declaration

    Swift

    public let locationSnapshot: LocationSnapshot
  • Configuration of current navigation session.

    Declaration

    Swift

    public let configurationSnapshot: ConfigurationSnapshot
  • Specifies the current active TomTomSDKCommon/Vehicle profile.

    Declaration

    Swift

    public let vehicleProfile: any Vehicle
  • Trip status information of the current navigation session. Unavailable if the user is in free drive mode.

    Declaration

    Swift

    public let tripSnapshot: TripSnapshot?
  • Retrieves the list of routes for the current trip, including the current route and the better proposal route, if available.

    Declaration

    Swift

    public var routes: [Route] { get }