Class SafetyCameraWarningOptions
- Last UpdatedMay 13, 2025
- 2 minute read
- java.lang.Object
-
- com.here.sdk.navigation.SafetyCameraWarningOptions
-
public final class SafetyCameraWarningOptions extends java.lang.Object
Safety camera warning options. Set the options to
NavigatorInterface.getSafetyCameraWarningOptions()
in order to enable them.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
enableTextNotification
Enables or disables the text notification emitted together with the safety camera warner.int
highwayWarningDistanceInMeters
Deprecated.Will be removed in v4.23.0.int
ruralWarningDistanceInMeters
Deprecated.Will be removed in v4.23.0.int
urbanWarningDistanceInMeters
Deprecated.Will be removed in v4.23.0.
-
Constructor Summary
Constructors Constructor Description SafetyCameraWarningOptions()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
highwayWarningDistanceInMeters
@Deprecated public int highwayWarningDistanceInMeters
Deprecated.Will be removed in v4.23.0. Use the methods
NavigatorInterface.getWarningNotificationDistances(com.here.sdk.navigation.WarningType)
/NavigatorInterface.setWarningNotificationDistances(com.here.sdk.navigation.WarningType, com.here.sdk.navigation.WarningNotificationDistances)
instead for getting or setting this distance.Warning distance setting for highways, in meters. Defaults to 1500 meters. Note: The road type (highway, rural or urban) is given by the speed limit on that particular road at the specified position and not by the actual road classification. Details about which speed limits are associated to which road type can be found in
DistanceType
.
-
ruralWarningDistanceInMeters
@Deprecated public int ruralWarningDistanceInMeters
Deprecated.Will be removed in v4.23.0. Use the methods
NavigatorInterface.getWarningNotificationDistances(com.here.sdk.navigation.WarningType)
/NavigatorInterface.setWarningNotificationDistances(com.here.sdk.navigation.WarningType, com.here.sdk.navigation.WarningNotificationDistances)
instead for getting or setting this distance.Warning distance setting for rural roads, in meters. Defaults to 750 meters. Note: The road type (highway, rural or urban) is given by the speed limit on that particular road at the specified position and not by the actual road classification. Details about which speed limits are associated to which road type can be found in
DistanceType
.
-
urbanWarningDistanceInMeters
@Deprecated public int urbanWarningDistanceInMeters
Deprecated.Will be removed in v4.23.0. Use the methods
NavigatorInterface.getWarningNotificationDistances(com.here.sdk.navigation.WarningType)
/NavigatorInterface.setWarningNotificationDistances(com.here.sdk.navigation.WarningType, com.here.sdk.navigation.WarningNotificationDistances)
instead for getting or setting this distance.Warning distance setting for urban roads, in meters. Defaults to 500 meters. Note: The road type (highway, rural or urban) is given by the speed limit on that particular road at the specified position and not by the actual road classification. Details about which speed limits are associated to which road type can be found in
DistanceType
.
-
enableTextNotification
public boolean enableTextNotification
Enables or disables the text notification emitted together with the safety camera warner. Note: In order to receive the text notification emitted for the safety camera warner, when [SafetyCameraWarningOptions.enable_text_notification] has been enabled, the
EventTextListener
must be enabled as well.
-
-