TripProgressUpdateValue

class TripProgressUpdateValue

Represents a trip progress update to be rendered

Parameters

estimatedTimeToArrival

the estimated time to arrival

distanceRemaining

the distance remaining

currentLegTimeRemaining

the time remaining for the current leg

totalTimeRemaining

the total time remaining

percentRouteTraveled

the percentage of the route traveled

trafficCongestionColor

reserved for future use

formatter

an object containing various types of formatters

Functions

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

Properties

currentLegTimeRemaining
Link copied to clipboard
val currentLegTimeRemaining: Double
the time remaining for the current leg
distanceRemaining
Link copied to clipboard
val distanceRemaining: Double
the distance remaining
estimatedTimeToArrival
Link copied to clipboard
val estimatedTimeToArrival: Long
the estimated time to arrival
formatter
Link copied to clipboard
val formatter: TripProgressUpdateFormatter
an object containing various types of formatters
percentRouteTraveled
Link copied to clipboard
val percentRouteTraveled: Double
the percentage of the route traveled
totalTimeRemaining
Link copied to clipboard
val totalTimeRemaining: Double
the total time remaining
trafficCongestionColor
Link copied to clipboard
val trafficCongestionColor: Int
reserved for future use