Class WarningOptions

java.lang.Object
com.here.sdk.warner.WarningOptions

public final class WarningOptions extends Object

A class with options to configure WarnerEngine.getWarningOptions()

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • safetyCameraWarningOptions

      @NonNull public SafetyCameraWarningOptions safetyCameraWarningOptions

      Safety camera warning options. Set the options in order to enable them.

    • truckRestrictionsWarningOptions

      @NonNull public TruckRestrictionsWarningOptions truckRestrictionsWarningOptions

      Truck restrictions warning options.

    • roadSignWarningOptions

      @NonNull public RoadSignWarningOptions roadSignWarningOptions

      A struct that provides road sign warning options. Set the options for filtering of road sign notifications.

    • realisticViewWarningOptions

      @NonNull public RealisticViewWarningOptions realisticViewWarningOptions

      Realistic view warning options. Set the options for filtering the realistic view notifications and setting the realistic view notification distances based on the road type.

    • schoolZoneWarningOptions

      @NonNull public SchoolZoneWarningOptions schoolZoneWarningOptions

      School zone warning options. Set the options for configuring of school zone notifications.

    • borderCrossingWarningOptions

      @NonNull public BorderCrossingWarningOptions borderCrossingWarningOptions

      Border crossing warning options.

    • trafficMergeWarningOptions

      @NonNull public TrafficMergeWarningOptions trafficMergeWarningOptions

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

    • laneDecreaseWarningOptions

      @NonNull public LaneDecreaseWarningOptions laneDecreaseWarningOptions

      A struct that provides lane decrease warning options. Set the options for filtering the lane decrease notifications.

      Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Constructor Details

    • WarningOptions

      public WarningOptions(@NonNull SafetyCameraWarningOptions safetyCameraWarningOptions, @NonNull TruckRestrictionsWarningOptions truckRestrictionsWarningOptions, @NonNull RoadSignWarningOptions roadSignWarningOptions, @NonNull RealisticViewWarningOptions realisticViewWarningOptions, @NonNull SchoolZoneWarningOptions schoolZoneWarningOptions, @NonNull BorderCrossingWarningOptions borderCrossingWarningOptions, @NonNull TrafficMergeWarningOptions trafficMergeWarningOptions, @NonNull LaneDecreaseWarningOptions laneDecreaseWarningOptions)

      Creates a new instance.

      Parameters:
      safetyCameraWarningOptions -

      Safety camera warning options. Set the options in order to enable them.

      truckRestrictionsWarningOptions -

      Truck restrictions warning options.

      roadSignWarningOptions -

      A struct that provides road sign warning options. Set the options for filtering of road sign notifications.

      realisticViewWarningOptions -

      Realistic view warning options. Set the options for filtering the realistic view notifications and setting the realistic view notification distances based on the road type.

      schoolZoneWarningOptions -

      School zone warning options. Set the options for configuring of school zone notifications.

      borderCrossingWarningOptions -

      Border crossing warning options.

      trafficMergeWarningOptions -

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

      laneDecreaseWarningOptions -

      A struct that provides lane decrease warning options. Set the options for filtering the lane decrease notifications.

      Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Method Details