TripSummaryModel

class TripSummaryModel @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val traveledToRemainingRatio: Float, val legDistanceRemaining: String, val legTimeRemaining: String, val legArrivalTime: String, val preferredRemainingArrivalMetricType: RemainingArrivalMetricType, val isOffline: Boolean, val legStateOfCharge: Int? = null, val trafficGradientStops: List<Pair<Float, Color?>> = emptyList(), val waypointsData: List<WaypointData> = emptyList())

Constructors

Link copied to clipboard
constructor(traveledToRemainingRatio: Float, legDistanceRemaining: String, legTimeRemaining: String, legArrivalTime: String, preferredRemainingArrivalMetricType: RemainingArrivalMetricType, isOffline: Boolean, legStateOfCharge: Int? = null, trafficGradientStops: List<Pair<Float, Color?>> = emptyList(), waypointsData: List<WaypointData> = emptyList())

Properties

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

Functions

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