Class VehicleSpecificSpeedLimit

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

public final class VehicleSpecificSpeedLimit extends Object

Speed limit regulation specific to a vehicle type.

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

    • speedLimitInMetersPerSecond

      public double speedLimitInMetersPerSecond

      Maximum permitted speed in meters per second.

    • isAdvisory

      public boolean isAdvisory

      If true, this speed limit is advisory rather than legally enforced.

    • builtUpAreaMaxOverrideSpeedInMetersPerSecond

      @Nullable public Double builtUpAreaMaxOverrideSpeedInMetersPerSecond

      Max Override Speed indicates the maximum speed a commercial vehicle may travel within a BUA. Could be 0 if unlimited. A null value means the speed limit is not affected by the BUA override or not present.

    • condition

      @NonNull public VehicleRestrictionCondition condition

      Conditions under which this speed limit is active.

  • Constructor Details

    • VehicleSpecificSpeedLimit

      public VehicleSpecificSpeedLimit(double speedLimitInMetersPerSecond, boolean isAdvisory, @NonNull VehicleRestrictionCondition condition)

      Creates a new instance with specified parameters.

      Parameters:
      speedLimitInMetersPerSecond -

      Maximum permitted speed in meters per second.

      isAdvisory -

      If true, this speed limit is advisory rather than legally enforced.

      condition -

      Conditions under which this speed limit is active.

  • Method Details