VehicleSpecificAccess
public struct VehicleSpecificAccess : Hashable
Access regulation for a specific vehicle type on a road segment.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
If true, access is only permitted with a special permit.
Declaration
Swift
public var isPermitBased: Bool -
Physical structure (e.g. bridge or tunnel) to which this access regulation applies.
Declaration
Swift
public var physicalStructure: PhysicalStructure -
If true, trucks are prohibited from using the innermost lane.
Declaration
Swift
public var noTruckInnermostLane: Int32? -
Conditions under which this access regulation is active.
Declaration
Swift
public var condition: VehicleRestrictionCondition -
Creates a new instance with specified parameters.
Declaration
Swift
public init(isPermitBased: Bool, physicalStructure: PhysicalStructure, noTruckInnermostLane: Int32? = nil, condition: VehicleRestrictionCondition)