TripSummaryModel

The model for the trip summary card.

Parameters

traveledToRemainingRatio

the traveled to remaining ratio.

legDistanceRemaining

the distance remaining for the leg.

legTimeRemaining

the time remaining for the leg.

legArrivalTime

the arrival time for the leg.

isOffline

true if the trip is offline.

legStateOfCharge

the 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
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