DrivingHistorySnapshot
public struct DrivingHistorySnapshot
A structure containing information about things in the route that the driver has already passed, such as visited locations and driven distance.
Important
This is a Public Preview API. It may be changed or removed at any time.-
An array of
RoutePoint
s that have already been passed.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let drivenPath: [RoutePoint]
-
Driven distance.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var drivenDistance: Measurement<UnitLength> { get }