TrafficMergeWarningOptions (API Reference)
Package com.here.sdk.navigation
Class TrafficMergeWarningOptions
java.lang.Object
com.here.sdk.navigation.TrafficMergeWarningOptions
A class that provides traffic merge warning options. Set the options for filtering the traffic merge notifications.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanEnables or disables the text notification emitted together with the traffic merge warner.The types of roads containing traffic which will trigger a warning when they merge with the current highway.intThe warning notification distance in meters applicable for traffic merge warning regardless of the timing profile. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
typesFilter
The types of roads containing traffic which will trigger a warning when they merge with the current highway. If the list is empty, the merging roads containing traffic are not filtered by type.
-
enableTextNotification
public boolean enableTextNotificationEnables or disables the text notification emitted together with the traffic merge warner.
-
warningDistanceInMeters
public int warningDistanceInMetersThe warning notification distance in meters applicable for traffic merge warning regardless of the timing profile. Defaults to 1500 meters.
-
-
Constructor Details
-
TrafficMergeWarningOptions
public TrafficMergeWarningOptions()Creates a new instance.
-
-
Method Details