CurrentChargingStopInfo

data class CurrentChargingStopInfo(val chargingStation: ChargingStation, val remainingChargingTime: Duration, val expectedBatteryChargePercentage: Float) : Parcelable

A data class represents the information on the current charging stop.

Constructors

Link copied to clipboard
constructor(chargingStation: ChargingStation, remainingChargingTime: Duration, expectedBatteryChargePercentage: Float)

Properties

Link copied to clipboard

Details about the charging station including its unique identifier and the charging points that it has.

Link copied to clipboard

The expected battery percentage if the vehicle is left to charge at this charging stop for the duration of time specified in remainingChargingTime. 100.0 is the maximum value this property can hold.

Link copied to clipboard

The length of time the vehicle needs to stop at this charging stop to charge their vehicle to battery charge level of expectedBatteryChargePercentage.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)