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
Declaration
Swift
public enum ConnectorType
-
Describes the type of electric current
See moreDeclaration
Swift
public enum CurrentType
-
Units system
See moreDeclaration
Swift
public enum UnitsSystem : CaseIterable, Equatable
-
See moreGeoJSONGeometry
is an enumeration representing the seven geometry types defined in the GeoJSON format. Each case of the enum wraps a corresponding structure that provides detailed geometric data.Declaration
Swift
public enum GeoJSONGeometry
extension GeoJSONGeometry: Equatable
-
Indicates the category to which a traffic event belongs.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Category
-
Indicates the cause of the traffic event. Codes are chosen according to the TPEG-TEC standard.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum CauseCode
-
Indicates the driving side on the road.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum DrivingSide
-
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum EffectCode
-
Indicates the class of a road.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RoadClass
-
Indicates the subclass of a road.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RoadSubClass
-
Indicates the type of a road.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RoadType
-
Indicates the severity of the traffic event. Values are chosen according to the TPEG-TEC standard.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum WarningLevel
-
If vehicleAdrTunnelRestrictionCode is specified, the vehicle is subject to ADR tunnel restrictions.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum ADRTunnelRestrictionCode
-
Represents the types of the vehicle engine (e.g., electric).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum EngineType
-
VehicleError
used for exceptions indicating vehicle errors.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum VehicleError : Error, Equatable
-
Types of cargo that may be classified as hazardous materials and restricted from some roads (European notation).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum VehicleGeneralLoadType
-
Types of cargo that may be classified as hazardous materials and restricted from some roads (American notation).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum VehicleDangerousLoadType
-
Types of cargo that may be classified as hazardous materials and restricted from some roads.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum VehicleLoadType
-
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
Swift
public enum VehicleType