Package com.here.sdk.warner
Class Warning
java.lang.Object
com.here.sdk.warner.Warning
A class which represents a warning.
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 Summary
FieldsModifier and TypeFieldDescriptionIdentifier of the custom warning type.The type of distance measurement used for this warning.intIdentifier of the warning.The specific type of the warning. -
Constructor Summary
ConstructorsConstructorDescriptionWarning(int id, DistanceType distanceType, WarningType warningType) Creates a new instance. -
Method Summary
-
Field Details
-
id
public int idIdentifier of the warning. The ID is unique only within its specific
warningTypeand can be used to retrieve additional information from a corresponding registry. -
distanceType
The type of distance measurement used for this warning.
-
warningType
The specific type of the warning.
-
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.CUSTOMand isnullfor all other warning types.
-
-
Constructor Details
-
Method Details