public static final enum

OnStatusChangedListener.STATUS

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.esri.android.map.event.OnStatusChangedListener.STATUS

Class Overview

The MapView or Layer status.

Summary

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

Enum Values

public static final OnStatusChangedListener.STATUS INITIALIZATION_FAILED

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.

public static final OnStatusChangedListener.STATUS INITIALIZED

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.

public static final OnStatusChangedListener.STATUS LAYER_LOADED

A layer is loaded to the map successfully. This layer can be rendered properly in the map if it is loaded.

public static final OnStatusChangedListener.STATUS LAYER_LOADING_FAILED

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.

Public Methods

public static OnStatusChangedListener.STATUS fromInt (int i)

Creates a STATUS from its value.

Parameters
i the i
Returns
  • the STATUS

public static OnStatusChangedListener.STATUS fromInt (int i, OnStatusChangedListener.STATUS expectedStatus)

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().

Parameters
i the i
expectedStatus the expected status
Returns
  • the STATUS

public EsriErrorCode getError ()

Gets the error details for INITIALIZATION_FAILED or LAYER_LOADING_FAILED.

Returns
  • the error details.

public int getValue ()

Gets the integer value for the status.

Returns
  • status value.

public static OnStatusChangedListener.STATUS valueOf (String name)

public static final STATUS[] values ()