TripSummaryModel

The model for the trip summary card.

Parameters

fractionTraveled

fraction traveled along the current route.

distanceRemaining

the distance remaining for the route.

timeRemaining

the time remaining for the route.

arrivalTime

the arrival time for the route.

arrivalTimeZone

the arrival time zone for the route

legDistanceRemaining

the distance remaining for the leg.

legTimeRemaining

the time remaining for the leg.

legArrivalTime

the arrival time for the leg.

legArrivalTimeZone

the arrival time zone for the leg.

isOffline

true if the trip is offline.

legStateOfCharge

the state of charge by the end of the leg.

legStateOfChargeDeviation

the state of charge deviation between the initial state of charge and the current state of charge by the end of the leg.

trafficGradientStops

the traffic gradient, used to color the traffic bar.

waypointsData

the list of waypoint on the trip.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val legStateOfCharge: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int