Class DangerZoneWarningOptions
- Last UpdatedMay 13, 2025
- 2 minute read
- java.lang.Object
-
- com.here.sdk.navigation.DangerZoneWarningOptions
-
@Deprecated public final class DangerZoneWarningOptions extends java.lang.Object
Deprecated.Will be removed in v4.23.0. For getting and setting the warning notification distances use the methods
NavigatorInterface.getWarningNotificationDistances(com.here.sdk.navigation.WarningType)
andNavigatorInterface.setWarningNotificationDistances(com.here.sdk.navigation.WarningType, com.here.sdk.navigation.WarningNotificationDistances)
instead.Danger zone warning options. Set the options to
NavigatorInterface.getDangerZoneWarningOptions()
for filtering of danger zone notifications.
-
-
Field Summary
Fields Modifier and Type Field Description 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 DangerZoneWarningOptions()
Deprecated.Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Deprecated.int
hashCode()
Deprecated.
-
-
-
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.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.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.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
.
-
-