com.google.api.ads.dfp.lib.utils
Interface ReportCallback


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.

Author:
Adam Rogal

Method Summary
 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.
 

Method Detail

onSuccess

void onSuccess()
Called when the asynchronous call has completed successfully.


onFailure

void onFailure()
Called when there has been a failure due to server-side processing.


onInterruption

void onInterruption()
Called when the wait thread is interrupted.


onException

void onException(Exception e)
Called when there was an exception preventing the completion of the asynchronous request.

Parameters:
e - the exception representing the cause of failure


Copyright © 2012. All Rights Reserved.