Class SafetyCameraWarning
A class that provides safety camera warning information.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleDeprecated.Will be removed in v4.29.0.Deprecated.Will be removed in v4.29.0.intUnique identifier for this specific safety camera warning instance.doubleThe speed limit observed by the safety camera.The type of the safety camera element. -
Constructor Summary
ConstructorsConstructorDescriptionSafetyCameraWarning(int id, double distanceToCameraInMeters, double speedLimitInMetersPerSecond, SafetyCameraType type, DistanceType distanceType) Deprecated.Will be removed in v4.29.0. -
Method Summary
-
Field Details
-
id
public int idUnique identifier for this specific safety camera warning instance. Each warning type (truck restrictions, speed warnings, etc.) maintains its own independent ID namespace. Use this ID to track, update, or dismiss individual warning instances of this type.
-
distanceToCameraInMeters
Deprecated.Will be removed in v4.29.0. Use the
WarningUpdateimplementation instead.Distance to the safety camera in meters.
-
speedLimitInMetersPerSecond
public double speedLimitInMetersPerSecondThe speed limit observed by the safety camera.
-
type
The type of the safety camera element.
-
distanceType
Deprecated.Will be removed in v4.29.0. Use the
WarningStatusimplementation instead.The distance type of the warning (e.g.: warning for a new safety camera ahead, warning for passing a safety camera). Since the safety camera warning is given relative to a single position on the route,
DistanceType.REACHEDwill never be given for this warning.
-
-
Constructor Details
-
Method Details