VehicleRestrictionsProtocol

@objc
public protocol VehicleRestrictionsProtocol

BETA Specifies the restriction that this vehicle should be subjected to.

Experiment

THIS API IS IN BETA VERSION
  • Specifies maximum speed of the vehicle in km/hour.

    Declaration

    Swift

    @objc
    optional var vehicleMaxSpeedInKph: Int { get set }
  • Specifies whether the vehicle is used for commercial purposes and thus may not be allowed to drive on some roads.

    Declaration

    Swift

    @objc
    optional var isVehicleCommercial: Bool { get set }
  • Specifies the vehicle load type for route calculation.

    Declaration

    Swift

    @objc
    var vehicleLoadType: VehicleLoadType { get set }
  • If specified, the vehicle is subject to ADR tunnel restrictions.

    Declaration

    Swift

    @objc
    var vehicleAdrTunnelRestrictionCode: VehicleAdrTunnelRestrictionCode { get set }