SafetyCameraWarning (API Reference)
Package com.here.sdk.navigation
Class SafetyCameraWarning
java.lang.Object
com.here.sdk.navigation.SafetyCameraWarning
A class that provides safety camera warning information.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleDistance to the safety camera in meters.The distance type of the warning (e.g.: warning for a new safety camera ahead, warning for passing a safety camera).doubleThe speed limit observed by the safety camera.The type of the safety camera element. -
Constructor Summary
ConstructorsConstructorDescriptionSafetyCameraWarning(double distanceToCameraInMeters, double speedLimitInMetersPerSecond, SafetyCameraType type, DistanceType distanceType) Creates a new instance. -
Method Summary
-
Field Details
-
distanceToCameraInMeters
public double distanceToCameraInMetersDistance 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
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