Package com.here.sdk.mapdata
Class VehicleSpecificAccess
java.lang.Object
com.here.sdk.mapdata.VehicleSpecificAccess
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionConditions under which this access regulation is active.booleanIf true, access is only permitted with a special permit.If true, trucks are prohibited from using the innermost lane.Physical structure (e.g. -
Constructor Summary
ConstructorsConstructorDescriptionVehicleSpecificAccess(boolean isPermitBased, PhysicalStructure physicalStructure, VehicleRestrictionCondition condition) Creates a new instance with specified parameters. -
Method Summary
-
Field Details
-
isPermitBased
public boolean isPermitBasedIf true, access is only permitted with a special permit.
-
physicalStructure
Physical structure (e.g. bridge or tunnel) to which this access regulation applies.
-
noTruckInnermostLane
If true, trucks are prohibited from using the innermost lane.
-
condition
Conditions under which this access regulation is active.
-
-
Constructor Details
-
VehicleSpecificAccess
public VehicleSpecificAccess(boolean isPermitBased, @NonNull PhysicalStructure physicalStructure, @NonNull VehicleRestrictionCondition condition) Creates a new instance with specified parameters.
- Parameters:
isPermitBased-If true, access is only permitted with a special permit.
physicalStructure-Physical structure (e.g. bridge or tunnel) to which this access regulation applies.
condition-Conditions under which this access regulation is active.
-
-
Method Details