public interface

OnStatusChangedListener

implements Serializable
com.esri.android.map.event.OnStatusChangedListener

Class Overview

Implements this listener to handle a status changed event on a MapView or a Layer. Some properties and operations are available only after the MapView/Layer is initialized, e.g., spatial reference of the map, center of the map or tile information of a tiled layer. Therefore you have to wait for MapView/Layer to be initialized in order to make use of these properties or operations.
If you attach this listener to MapView, four status changed events can be listened: INITIALIZED/INITIALIZATION_FAILED events originated from MapView and LAYER_LOADED/LAYER_LOADING_FAILED events originated from Layer. If you attach this listener to Layer, two status changed events can be listened: INITIALIZED and INITIALIZATION_FALIED events originated from Layer.

Summary

Nested Classes
class OnStatusChangedListener.EsriStatusException Defines the detailed information about the STATUS.INITIALIZATION_FAILED or STATUS.LAYER_LOADING_FAILED. 
enum OnStatusChangedListener.STATUS The MapView or Layer status. 
Public Methods
abstract void onStatusChanged(Object source, OnStatusChangedListener.STATUS status)
The status changed event of MapView/Layer is fired.

Public Methods

public abstract void onStatusChanged (Object source, OnStatusChangedListener.STATUS status)

The status changed event of MapView/Layer is fired.

Parameters
source source object which originates the event, which can be either a MapView or a Layer object.
status the new status.