public interface ReportCallback
ReportCallback
is called on the completion of asynchronous report
downloads. It is either called with ReportCallback#onSuccess
or with
ReportCallback#onError(Exception))
if there was an exception.Modifier and Type | Method and Description |
---|---|
void |
onException(Exception e)
Called when there was an exception preventing the completion of the
asynchronous request.
|
void |
onFailure()
Called when there has been a failure due to server-side processing.
|
void |
onInterruption()
Called when the wait thread is interrupted.
|
void |
onSuccess()
Called when the asynchronous call has completed successfully.
|
void onSuccess()
void onFailure()
void onInterruption()
void onException(Exception e)
e
- the exception representing the cause of failureCopyright © 2018. All Rights Reserved.