EngineType
public enum EngineType
An enumeration representing different types of vehicle engines and their associated criteria.
Use this enum to specify engine-related search criteria in the configuration. Depending on the engine type, you can provide further details like the types of connectors for electric vehicles or fuel types for combustion vehicles.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Represents electric vehicles.
Declaration
Swift
case electric(connectors: Set<ConnectorType>)Parameters
connectorsA set of connector types suitable for electric vehicles.
-
Represents vehicles with combustion engines.
Declaration
Swift
case combustion(fuelTypes: Set<FuelType>)Parameters
fuelTypesA set of fuel types suitable for combustion vehicles.
EngineType Enumeration Reference