public static enum MapBuildingLayer.BuildingSearchResult.ErrorCode extends java.lang.Enum<MapBuildingLayer.BuildingSearchResult.ErrorCode>
| Enum Constant and Description |
|---|
AREA_TOO_LARGE
Search area is too large.
|
NEEDS_DATA
Map Data is not available at the requested area.
|
NONE
No error.
|
UNKNOWN
Unknown error.
|
| Modifier and Type | Method and Description |
|---|---|
static MapBuildingLayer.BuildingSearchResult.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapBuildingLayer.BuildingSearchResult.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapBuildingLayer.BuildingSearchResult.ErrorCode NONE
public static final MapBuildingLayer.BuildingSearchResult.ErrorCode NEEDS_DATA
public static final MapBuildingLayer.BuildingSearchResult.ErrorCode AREA_TOO_LARGE
public static final MapBuildingLayer.BuildingSearchResult.ErrorCode UNKNOWN
public static MapBuildingLayer.BuildingSearchResult.ErrorCode[] values()
for (MapBuildingLayer.BuildingSearchResult.ErrorCode c : MapBuildingLayer.BuildingSearchResult.ErrorCode.values()) System.out.println(c);
public static MapBuildingLayer.BuildingSearchResult.ErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null