public interface

OnStatusChangedListener

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

Class Overview

Implement 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 for: 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 for: INITIALIZED and INITIALIZATION_FAILED events originated from Layer.

Summary

Nested Classes
class OnStatusChangedListener.EsriStatusException Defines the detailed information about the STATUS.INITIALIZATION_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 Object: source object which originates the event, which can be either a MapView or a Layer object.
status OnStatusChangedListener.STATUS: the new status.