TripSnapshot

fun TripSnapshot(activeRoute: RouteSnapshot, betterProposal: RouteSnapshot? = null, hasDeviated: Boolean = false, hasReachedDestination: Boolean = false)

Parameters

activeRoute

Active route RouteSnapshot.

betterProposal

Better proposal route RouteSnapshot.

hasDeviated

Indicator of whether the driver has deviated from the route.

hasReachedDestination

Indicates if the destination has been reached.