Enumerations

The following enumerations are available globally.

ConnectorType

CurrentType

  • Describes the type of electric current

    See more

    Declaration

    Swift

    public enum CurrentType

UnitsSystem

  • Units system

    See more

    Declaration

    Swift

    public enum UnitsSystem : CaseIterable, Equatable

GeoJSONGeometry

  • GeoJSONGeometry 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.

    See more

    Declaration

    Swift

    public enum GeoJSONGeometry
    extension GeoJSONGeometry: Equatable

OpeningHoursMode

  • An option that defines for what days opening hours would be requested.

    See more

    Declaration

    Swift

    public enum OpeningHoursMode
    extension OpeningHoursMode: Equatable

Source

  • Defines the source of the produced search result.

    Note

    this information might be helful when different Search instances are used and there is a need to distinguish results based on their origin.
    See more

    Declaration

    Swift

    public enum Source
  • Defines standard the POI category identifiers. The enum value provides the semantic of the POI category. Multiple POICategoryID can have the same StandardCategoryID value.

    See more

    Declaration

    Swift

    public enum StandardCategoryID : Int

DrivingSide

  • Indicates the driving side on the road.

    See more

    Declaration

    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.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum RoadCategory

RoadClass

  • Indicates the class of a road.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum RoadClass

RoadCondition

RoadSubClass

  • Indicates the subclass of a road.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum RoadSubClass

RoadType

  • 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 more

    Declaration

    Swift

    public enum RoadType

SpeedLimit

  • Speed limit consisting of a speed limit type and a speed limit value.

    See more

    Declaration

    Swift

    public enum SpeedLimit : Equatable

Category

  • 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.
    See more

    Declaration

    Swift

    public enum Category

CauseCode

  • 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.
    See more

    Declaration

    Swift

    public enum CauseCode

EffectCode

  • Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum EffectCode

WarningLevel

  • 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.
    See more

    Declaration

    Swift

    public enum WarningLevel

ADRTunnelRestrictionCode

  • Specifies if the vehicle should be subjected to ADR tunnel restrictions.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum ADRTunnelRestrictionCode

EngineType

  • 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.
    See more

    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.
    See more

    Declaration

    Swift

    public enum VehicleError : Error, Equatable

VehicleGeneralLoadType

  • 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.
    See more

    Declaration

    Swift

    public enum VehicleGeneralLoadType

VehicleDangerousLoadType

  • 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.
    See more

    Declaration

    Swift

    public enum VehicleDangerousLoadType

VehicleLoadType

  • 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.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum VehicleLoadType

VehicleType

  • Represents the “vehicle type” parameter in a request to the Routing API.

    See more

    Declaration

    Swift

    public enum VehicleType