Class WarningUpdate

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

public final class WarningUpdate extends Object

Provides the warning identifier and its information.

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

    • warning

      @NonNull public Warning warning

      The identification information of the warning.

    • warningStatus

      @NonNull public WarningStatus warningStatus

      The current status of the warning relative to the vehicle's position.

    • distanceTillStartInMeters

      @Nullable public Double distanceTillStartInMeters

      The distance to the warning, expressed in meters. null if WarningStatus is WarningStatus.INSIDE or WarningStatus.PASSED.

    • distanceTillEndInMeters

      @Nullable public Double distanceTillEndInMeters

      The distance to the end of the warning, expressed in meters. It is the same value as distanceTillStartInMeters when the warning refers to a single location on the map. null if the end of the warning is yet to be processed in the upcoming segments.

  • Constructor Details

    • WarningUpdate

      public WarningUpdate()

      Creates a new instance.