com.esri.core.map
Interface CallbackListener<T>

All Known Subinterfaces:
PortalListener<T>

public interface CallbackListener<T>

Implement this interface to handle the returned result from an asychronous call.


Method Summary
 void onCallback(T objs)
          Handles the result when the call succeeded.
 void onError(Throwable e)
          Handles the result when the call failed.
 

Method Detail

onCallback

void onCallback(T objs)
Handles the result when the call succeeded.

Parameters:
objs - the result of a successful task call.

onError

void onError(Throwable e)
Handles the result when the call failed.

Parameters:
e - the exception caught in the task perform.


Copyright © 2012. All Rights Reserved.