ChargingStation
public struct ChargingStation : Hashable
A charging station has several charging points, of which only several points can be used at the same time.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
ChargingStationinstance with given parameters.Declaration
Swift
public init(id: Identifier, chargingPoints: [ChargingPoint])Parameters
idcharging station ID.
chargingPointsAn array of
ChargingPointof theChargingStation.
-
An identifier struct for
ChargingStation.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Identifier : Hashable -
Charging station ID.
Declaration
Swift
public let id: Identifier -
An array of
ChargingPointof theChargingStation.Declaration
Swift
public let chargingPoints: [ChargingPoint]
TomTom SDK for iOS (0.53.1)
ChargingStation