Class VehicleSpecificAccess

java.lang.Object
com.here.sdk.mapdata.VehicleSpecificAccess

public final class VehicleSpecificAccess extends Object

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 Details

    • isPermitBased

      public boolean isPermitBased

      If true, access is only permitted with a special permit.

    • physicalStructure

      @NonNull public PhysicalStructure physicalStructure

      Physical structure (e.g. bridge or tunnel) to which this access regulation applies.

    • noTruckInnermostLane

      @Nullable public Integer noTruckInnermostLane

      If true, trucks are prohibited from using the innermost lane.

    • condition

      @NonNull public VehicleRestrictionCondition 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