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

  • 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

GeopoliticalView

  • Specifies the context used to resolve the handling of disputed territories.

    Important

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

    Declaration

    Swift

    public enum GeopoliticalView

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 : String

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 : String

DrivingSide

  • Indicates the driving side on the road.

    Important

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

    Declaration

    Swift

    public enum DrivingSide : String

EffectCode

  • Important

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

    Declaration

    Swift

    public enum EffectCode : String

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 : String

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 : String

RoadType

  • Indicates the type 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 RoadType : String

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 : String

ADRTunnelRestrictionCode

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

    Declaration

    Swift

    public enum ADRTunnelRestrictionCode : Int, Codable
    extension ADRTunnelRestrictionCode: QueryItemConvertible

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 : String
    extension EngineType: QueryItemConvertible
  • 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

VehicleLoadType

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

    Declaration

    Swift

    public enum VehicleLoadType : String
    extension VehicleLoadType: QueryItemConvertible

VehicleType

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

    Declaration

    Swift

    public enum VehicleType
    extension VehicleType: QueryItemConvertible