Class VehicleSpecificSpeedLimit
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 Summary
FieldsModifier and TypeFieldDescriptionMax Override Speed indicates the maximum speed a commercial vehicle may travel within a BUA.Conditions under which this speed limit is active.booleanIf true, this speed limit is advisory rather than legally enforced.doubleMaximum permitted speed in meters per second. -
Constructor Summary
ConstructorsConstructorDescriptionVehicleSpecificSpeedLimit(double speedLimitInMetersPerSecond, boolean isAdvisory, VehicleRestrictionCondition condition) Creates a new instance with specified parameters. -
Method Summary
-
Field Details
-
speedLimitInMetersPerSecond
public double speedLimitInMetersPerSecondMaximum permitted speed in meters per second.
-
isAdvisory
public boolean isAdvisoryIf true, this speed limit is advisory rather than legally enforced.
-
builtUpAreaMaxOverrideSpeedInMetersPerSecond
Max Override Speed indicates the maximum speed a commercial vehicle may travel within a BUA. Could be 0 if unlimited. A
nullvalue means the speed limit is not affected by the BUA override or not present. -
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