ChargingStopModel
public struct ChargingStopModel
The charging stop view model.
Important
This is a Public Preview API. It may be changed or removed at any time.-
init(vehicleChargeTitle:vehicleCharge: targetChargeTitle: targetCharge: vehicleChargeImageName: targetChargeImageName: ) Creates a new
ChargingStopModelinstance.Declaration
Parameters
vehicleChargeTitlethe text associated with the current vehicle charge.
vehicleChargethe string that defines the current vehicle charge level (e.g., 25%).
targetChargeTitlethe text associated with the target vehicle charge.
targetChargethe string that defines the target vehicle charge level (e.g., 80%).
vehicleChargeImageNamean icon for the current vehicle charge level.
targetChargeImageNamean icon for the target vehicle charge level.
-
The text associated with the current vehicle charge.
Declaration
Swift
public var vehicleChargeTitle: String -
The string that defines the current vehicle charge level (e.g., 25%).
Declaration
Swift
public var vehicleCharge: String -
The text associated with the target vehicle charge.
Declaration
Swift
public var targetChargeTitle: String -
The string that defines the target vehicle charge level (e.g., 80%).
Declaration
Swift
public var targetCharge: String -
An icon for the current vehicle charge level.
Declaration
Swift
public var vehicleChargeImageName: ImageName -
An icon for the target vehicle charge level.
Declaration
Swift
public var targetChargeImageName: ImageName
TomTom SDK for iOS (0.53.1)
ChargingStopModel