Enum MapLayerBuilder.InstantiationErrorCode
Package com.here.sdk.mapview
Enum MapLayerBuilder.InstantiationErrorCode
- java.lang.Object
-
- java.lang.Enum<MapLayerBuilder.InstantiationErrorCode>
-
- com.here.sdk.mapview.MapLayerBuilder.InstantiationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapLayerBuilder.InstantiationErrorCode>
- Enclosing class:
- MapLayerBuilder
public static enum MapLayerBuilder.InstantiationErrorCode extends java.lang.Enum<MapLayerBuilder.InstantiationErrorCode>
Describes a reason for failing to build a
MapLayer.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MISSING_MANDATORY_PARAMETERMissing mandatory parameter.UNSUPPORTED_CONTENT_TYPEUnsupported content type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapLayerBuilder.InstantiationErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapLayerBuilder.InstantiationErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MISSING_MANDATORY_PARAMETER
public static final MapLayerBuilder.InstantiationErrorCode MISSING_MANDATORY_PARAMETER
Missing mandatory parameter.
-
UNSUPPORTED_CONTENT_TYPE
public static final MapLayerBuilder.InstantiationErrorCode UNSUPPORTED_CONTENT_TYPE
Unsupported content type.
-
-
Method Detail
-
values
public static MapLayerBuilder.InstantiationErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MapLayerBuilder.InstantiationErrorCode c : MapLayerBuilder.InstantiationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapLayerBuilder.InstantiationErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-