Class VehicleProfileRestriction

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

public final class VehicleProfileRestriction extends Object

Physical and cargo profile of a vehicle that triggers a regulation.

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

    • requestedVehicleType

      @Nullable public VehicleTypeCondition requestedVehicleType

      Vehicle type to which this restriction applies.

    • requiredWeightInKilograms

      @NonNull public IntegerRange requiredWeightInKilograms

      Weight limits in kilograms.

    • requiredGrossWeightInKilograms

      @NonNull public IntegerRange requiredGrossWeightInKilograms

      Gross weight limits in kilograms.

    • requiredAmountOfTrailers

      @NonNull public IntegerRange requiredAmountOfTrailers

      Trailer count limits.

    • hazardousMaterialRestriction

      @Nullable public HazardousMaterialRestriction hazardousMaterialRestriction

      Restriction on transport of hazardous materials and max allowed tunnel category.

  • Constructor Details

    • VehicleProfileRestriction

      public VehicleProfileRestriction(@NonNull IntegerRange requiredWeightInKilograms, @NonNull IntegerRange requiredGrossWeightInKilograms, @NonNull IntegerRange requiredAmountOfTrailers)

      Creates a new instance with specified parameters.

      Parameters:
      requiredWeightInKilograms -

      Weight limits in kilograms.

      requiredGrossWeightInKilograms -

      Gross weight limits in kilograms.

      requiredAmountOfTrailers -

      Trailer count limits.

  • Method Details