WarningNotificationDistances (API Reference)
Class WarningNotificationDistances
Distances for emitting warnings according to the timing profile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe distance in meters for emitting warnings when the speed limit or current speed is fast.intThe distance in meters for emitting warnings when the speed limit or current speed is regular.intThe distance in meters for emitting warnings when the speed limit or current speed is slow. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
slowSpeedDistanceInMeters
public int slowSpeedDistanceInMetersThe distance in meters for emitting warnings when the speed limit or current speed is slow. The conditions for a speed to be considered slow are the same ones as for
TimingProfile.SLOW_SPEED. The distance should be greater than 0. Defaults to 500 meters. -
regularSpeedDistanceInMeters
public int regularSpeedDistanceInMetersThe distance in meters for emitting warnings when the speed limit or current speed is regular. The conditions for a speed to be considered regular are the same ones as for
TimingProfile.REGULAR_SPEED. The distance should be greater than 0. Defaults to 750 meters. -
fastSpeedDistanceInMeters
public int fastSpeedDistanceInMetersThe distance in meters for emitting warnings when the speed limit or current speed is fast. The conditions for a speed to be considered fast are the same ones as for
TimingProfile.FAST_SPEED. The distance should be greater than 0. Defaults to 1500 meters.
-
-
Constructor Details
-
WarningNotificationDistances
public WarningNotificationDistances()Creates a new instance.
-
-
Method Details