|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OnStatusChangedListener.STATUS> com.esri.android.map.event.OnStatusChangedListener.STATUS
public static enum OnStatusChangedListener.STATUS
The MapView or Layer status.
Enum Constant Summary | |
---|---|
INITIALIZATION_FAILED
The initialization of the MapView or the Layer fails. |
|
INITIALIZED
The MapView or the Layer is instantiated. |
|
LAYER_LOADED
A layer is loaded to the map successfully. |
|
LAYER_LOADING_FAILED
Failed to load a layer to the map. |
Method Summary | |
---|---|
static OnStatusChangedListener.STATUS |
fromInt(int i)
Creates a STATUS from its value. |
static OnStatusChangedListener.STATUS |
fromInt(int i,
OnStatusChangedListener.STATUS expectedStatus)
Deprecated. |
EsriErrorCode |
getError()
Gets the error details for INITIALIZATION_FAILED or LAYER_LOADING_FAILED. |
int |
getValue()
Gets the integer value for the status. |
static OnStatusChangedListener.STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OnStatusChangedListener.STATUS[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OnStatusChangedListener.STATUS INITIALIZED
public static final OnStatusChangedListener.STATUS LAYER_LOADED
public static final OnStatusChangedListener.STATUS LAYER_LOADING_FAILED
public static final OnStatusChangedListener.STATUS INITIALIZATION_FAILED
getError()
for the error details.
Method Detail |
---|
public static OnStatusChangedListener.STATUS[] values()
for (OnStatusChangedListener.STATUS c : OnStatusChangedListener.STATUS.values()) System.out.println(c);
public static OnStatusChangedListener.STATUS valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getValue()
@Deprecated public static OnStatusChangedListener.STATUS fromInt(int i, OnStatusChangedListener.STATUS expectedStatus)
getError()
.
public static OnStatusChangedListener.STATUS fromInt(int i)
public EsriErrorCode getError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |