java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.esri.android.map.event.OnStatusChangedListener.STATUS |
The MapView or Layer status.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OnStatusChangedListener.STATUS | INITIALIZATION_FAILED | The initialization of the MapView or the Layer fails. | |||||||||
OnStatusChangedListener.STATUS | INITIALIZED | The MapView or the Layer is instantiated. | |||||||||
OnStatusChangedListener.STATUS | LAYER_LOADED | A layer is loaded to the map successfully. | |||||||||
OnStatusChangedListener.STATUS | LAYER_LOADING_FAILED | Failed to load a layer to the map. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static OnStatusChangedListener.STATUS |
fromInt(int i)
Creates a STATUS from its value.
| ||||||||||
static OnStatusChangedListener.STATUS |
fromInt(int i, OnStatusChangedListener.STATUS expectedStatus)
This method is deprecated.
No replacement.
| ||||||||||
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) | ||||||||||
final static STATUS[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The initialization of the MapView or the Layer fails. All the methods on the MapView or the Layer are not
functioning. Call getError()
for the error details.
The MapView or the Layer is instantiated. MapView or Layer has acquired enough information about itself when they are initialized. For a MapView, this means that it knows its spatial reference and full extent for map rendering purpose. For a ArcGISTiledMapServiceLayer, this means that it has successfully requested map service information.
A layer is loaded to the map successfully. This layer can be rendered properly in the map if it is loaded.
Failed to load a layer to the map. This layer can not be rendered in the map. Sometimes a successfully initialized layer cannot be loaded into a successfully initialized map due to the projection failure.
Creates a STATUS from its value.
i | the i |
---|
This method is deprecated.
No replacement.
Creates a STATUS from its value. If it is an error code, the expected STATUS will be used, the error can be
retrieved by getError()
.
i | the i |
---|---|
expectedStatus | the expected status |
Gets the error details for INITIALIZATION_FAILED or LAYER_LOADING_FAILED.
Gets the integer value for the status.