ElectricVehicleProtocol
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public protocol ElectricVehicleProtocol
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
Represents the electric vehicle descriptor used during a route plan.
-
Specifies the dimensions of the vehicle.
Declaration
Swift
@objc optional var vehicleDimensions: VehicleDimensionsProtocol { get set } -
Specifies the efficiency of the vehicle.
Declaration
Swift
@objc optional var vehicleEfficiency: VehicleEfficiencyProtocol { get set } -
Specifies the restriction that this vehicle should be subjected to.
Declaration
Swift
@objc optional var vehicleRestrictions: VehicleRestrictionsProtocol { get set } -
Specifies the consumption model of the electric vehicle.
Declaration
Swift
@objc var vehicleConsumption: ElectricVehicleConsumption { get set }
ElectricVehicleProtocol Protocol Reference