Class Warning

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

public final class Warning extends Object

A class which represents a warning.

  • Field Details

    • id

      public int id

      Identifier of the warning. The ID is unique only within its specific warningType and can be used to retrieve additional information from a corresponding registry.

    • warningType

      @NonNull public WarningType warningType

      The specific type of the warning.

    • customWarningType

      @Nullable public Integer customWarningType

      Identifier of the custom warning type.

      Defines the category of the custom warning and determines which warning registry should be used to retrieve additional warning details. This field is set only when warningType == WarningType.CUSTOM and is null for all other warning types.

  • Constructor Details

    • Warning

      public Warning()

      Creates a new instance.

  • Method Details