TripSnapshot
public struct TripSnapshot
Snapshot that contains information about the trip.
Important
This is a Public Preview API. It may be changed or removed at any time.-
The current route.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let activeRoute: RouteSnapshot
-
The better proposal route, or
nil
if there is no better proposal.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let betterProposal: RouteSnapshot?
-
Indicates if the driver has deviated from all of the routes.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let hasDeviated: Bool
-
Indicates if the destination has been reached.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let hasReachedDestination: Bool