com.esri.map.popup
Class PopupView.AttachmentInfoCallback
java.lang.Object
com.esri.map.popup.PopupView.AttachmentInfoCallback
- All Implemented Interfaces:
- CallbackListener<AttachmentInfo[]>
- Enclosing class:
- PopupView
public class PopupView.AttachmentInfoCallback
- extends Object
- implements CallbackListener<AttachmentInfo[]>
This class is used to handle the response to attachment queries to a feature
layer. Any attachments returned will be displayed in a list in the PopupView.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopupView.AttachmentInfoCallback
public PopupView.AttachmentInfoCallback()
onCallback
public void onCallback(AttachmentInfo[] objs)
- Description copied from interface:
CallbackListener
- Handles the result of the call. If an error has occurred, onError will be
called first.
- Specified by:
onCallback
in interface CallbackListener<AttachmentInfo[]>
- Parameters:
objs
- the result of a successful call. Note that if the call failed,
this object may be null or invalid.
onError
public void onError(Throwable e)
- Description copied from interface:
CallbackListener
- Handles the result when the call failed. The implementation of this
should provide some means of indicating failure when onCallback is called
in the event of call failure.
- Specified by:
onError
in interface CallbackListener<AttachmentInfo[]>
- Parameters:
e
- the exception caught in the task execution.
Copyright © 2012. All Rights Reserved.