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.

    • hazardousMaterial

      @NonNull public HazardousMaterialType hazardousMaterial

      Hazardous material condition associated with this profile.

  • Constructor Details

    • VehicleProfileRestriction

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

      Creates a new instance with specified parameters.

      Parameters:
      requiredWeightInKilograms -

      Weight limits in kilograms.

      requiredGrossWeightInKilograms -

      Gross weight limits in kilograms.

      requiredAmountOfTrailers -

      Trailer count limits.

      hazardousMaterial -

      Hazardous material condition associated with this profile.

  • Method Details