Enumerations
The following enumerations are available globally.
-
The connector type. This list is based on the supported connector types by online search, documented at the following link: https://developer.tomtom.com/search-api/documentation/product-information/supported-connector-types
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum ConnectorType : String
-
Describes the type of electric current
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum CurrentType : String
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
@frozen public enum UnitsSystem : Codable, CaseIterable, Equatable
-
Enum containing geometry of a specific type.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum GeoJSONGeometry
-
If vehicleAdrTunnelRestrictionCode is specified, the vehicle is subject to ADR tunnel restrictions.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum ADRTunnelRestrictionCode : Int, Codableextension ADRTunnelRestrictionCode: QueryItemConvertible
-
Represents the types of the vehicle engine (e.g., electric).
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
-
VehicleErrorused for exceptions indicating vehicle errors.See moreWarning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.Declaration
Swift
public enum VehicleError : Error, Equatable
-
Types of cargo that may be classified as hazardous materials and restricted from some roads.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
-
Represents the “vehicle type” parameter in a request to the Routing API.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Enumerations Reference