TransientWaypoint

Represents a transient waypoint in the trip, i.e. automatically injected EV station.

Parameters

realTripIndex

the index of the waypoint in the trip.

searchResult

the search result of the waypoint. see DashSearchResult

chargeData

the charge data of the waypoint. see ChargeData

duration

the estimated remaining duration to the waypoint, or null if unknown.

arrivalTime

the estimated time of arrival at the waypoint in epoch seconds, or null if unknown.

distance

the remaining distance to the waypoint in meters, or null if unknown.

formattedDuration

duration formatted for the current locale, for example "7 min".

formattedArrivalTime

arrivalTime formatted for the current locale, for example "14:05".

formattedDistance

distance formatted for the current locale, for example "20 km".

disruption

a disruption status for the EV station, if any. When non-null the arrival time is suppressed and charging data is not shown.

isArrived

whether the vehicle has arrived at the waypoint.

Properties

Link copied to clipboard
val arrivalTime: Long? = null
Link copied to clipboard
val chargeData: ChargeData? = null
Link copied to clipboard
val disruption: String? = null
Link copied to clipboard
val distance: Double? = null
Link copied to clipboard
val duration: Duration? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isArrived: Boolean = false
Link copied to clipboard
val key: String
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
Link copied to clipboard
open override fun toString(): String