TripSnapshot
public struct TripSnapshot
Snapshot that contains information about the trip.
-
The current route.
Declaration
Swift
public let activeRoute: RouteSnapshot
-
The better proposal route, or
nil
if there is no better proposal.Declaration
Swift
public let betterProposal: RouteSnapshot?
-
Indicates if the driver has deviated from all of the routes.
Declaration
Swift
public let hasDeviated: Bool
-
Indicates if the destination has been reached.
Declaration
Swift
public let hasReachedDestination: Bool