ChargingInformation
public struct ChargingInformation
Information on how much to charge at a charging station.
-
Creates charging information structure.
Declaration
Swift
public init( targetCharge: Measurement<UnitEnergy>, chargingTime: Measurement<UnitDuration>, connectorDetails: ConnectorDetails, chargingParkUUID: UUID, chargingPower: Measurement<UnitPower>? = nil )Parameters
targetChargeThe level to which the battery should be charged.
chargingTimeThe estimated time spent at the charging stop, allowing for some additional time needed to use the charging facility.
connectorDetailsInformation about one of the connectors available in the
ChargingPark.chargingParkUUIDThe unique identifier of this charging park. This UUID can be used to check the availability of the charging park.
chargingPowerThe rated power of the charging park as limited by the charging capabilities of the vehicle.
-
The level to which the battery should be charged.
Declaration
Swift
public let targetCharge: Measurement<UnitEnergy> -
The estimated time spent at the charging stop, allowing for some additional time needed to use the charging facility.
Declaration
Swift
public let chargingTime: Measurement<UnitDuration> -
A list of chargingConnections, one of which should be used at this charging stop.
Declaration
Swift
public let connectorDetails: ConnectorDetails -
The unique identifier of this charging park. This UUID can be used to check the availability of the charging park.
Declaration
Swift
public let chargingParkUUID: UUID -
The rated power of the charging park as limited by the charging capabilities of the vehicle.
Declaration
Swift
public let chargingPower: Measurement<UnitPower>?
TomTom SDK for iOS (0.53.1)
ChargingInformation