Class TrafficMergeWarningOptions

java.lang.Object
com.here.sdk.navigation.TrafficMergeWarningOptions

public final class TrafficMergeWarningOptions extends Object

A class that provides traffic merge warning options. Set the options for filtering the traffic merge notifications.

  • Field Details

    • typesFilter

      @NonNull public List<TrafficMergeRoadType> 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 enableTextNotification

      Enables or disables the text notification emitted together with the traffic merge warner.

    • warningDistanceInMeters

      public int warningDistanceInMeters

      The 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