sdk-routing / com.tomtom.online.sdk.routing.ev.charging / ChargingInformationAtEndOfLeg

ChargingInformationAtEndOfLeg

@Beta(2020, 10) class ChargingInformationAtEndOfLeg

Represents information about a charging stop of a route leg.

Parameters

chargingParkUuid - The unique identifier of this charging park. This UUID can be used to check the availability of the charging park.

targetChargeInkWh - The charge in kWh to which the battery should be charged.

chargingTime - The estimated time in seconds spent at the charging stop, allowing for some additional time needed to use the charging facility.

chargingConnections - A list of chargingConnections, one of which should be used at this charging stop.

Constructors

<init>

ChargingInformationAtEndOfLeg(chargingParkUuid: UUID?, targetChargeInkWh: Double?, chargingTime: Int?, chargingConnections: List<ChargingConnection> = arrayListOf())

Represents information about a charging stop of a route leg.

Properties

chargingConnections

val chargingConnections: List<ChargingConnection>

A list of chargingConnections, one of which should be used at this charging stop.

chargingParkUuid

val chargingParkUuid: UUID?

The unique identifier of this charging park. This UUID can be used to check the availability of the charging park.

chargingTime

var chargingTime: Int?

The estimated time in seconds spent at the charging stop, allowing for some additional time needed to use the charging facility.

targetChargeInkWh

var targetChargeInkWh: Double?

The charge in kWh to which the battery should be charged.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int