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
See moreDeclaration
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 moreGeoJSONGeometryis 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 GeoJSONGeometryextension GeoJSONGeometry: Equatable
-
An option that defines for what days opening hours would be requested.
See moreDeclaration
Swift
public enum OpeningHoursModeextension OpeningHoursMode: Equatable
-
Defines the source of the produced search result.
See moreNote
this information might be helful when differentSearchinstances are used and there is a need to distinguish results based on their origin.Declaration
Swift
public enum Source -
Defines standard the POI category identifiers. The enum value provides the semantic of the POI category. Multiple
See morePOICategoryIDcan have the sameStandardCategoryIDvalue.Declaration
Swift
public enum StandardCategoryID : Int
-
Indicates the driving side on the road.
See moreDeclaration
Swift
public enum DrivingSide -
A coarse-grained classification of roads according to road purpose and capacity. In general, it is associated with specific horizon data.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RoadCategory
-
Indicates the class of a road.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RoadClass
-
Road pavement condition types.
See moreDeclaration
Swift
public enum RoadCondition
-
Indicates the subclass of a road.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum RoadSubClass
-
Classifies roads according to their purpose and function. The road-type classification can be used for efficient traffic flow management, avoidance of specific routes based on selected criteria, and visual differentiation of road segments on the map.
See moreDeclaration
Swift
public enum RoadType
-
Speed limit consisting of a speed limit type and a speed limit value.
See moreDeclaration
Swift
public enum SpeedLimit : Equatable
-
Indicates the category to which a traffic event belongs.
See moreImportant
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.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum CauseCode
-
See more
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum EffectCode
-
Indicates the severity of the traffic event. Values are chosen according to the TPEG-TEC standard.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum WarningLevel
-
Specifies if the vehicle should be subjected 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
-
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
Swift
public enum EngineType -
VehicleErrorused for exceptions indicating vehicle errors.See moreImportant
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).
See moreImportant
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).
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum VehicleDangerousLoadType
-
Represents types of cargo that may be classified as hazardous materials and restricted from some roads. Available values are UN Hazmat classes 1 through 9, plus generic classifications for use in other countries.
See moreImportant
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.
See moreDeclaration
Swift
public enum VehicleType
Enumerations Reference