com.sponsorpay.sdk.android.publisher
Interface InterstitialLoader.InterstitialLoadingStatusListener

Enclosing class:
InterstitialLoader

public static interface InterstitialLoader.InterstitialLoadingStatusListener

Interface to be implemented by parties interested in being notified of interesting events in the life of the interstitial.


Method Summary
 void onInterstitialLoadingTimeOut()
          Invoked when the interstitial ad request or the loading of the interstitial contents could not be performed within the amount of time defined by the loading timeout value.
 void onInterstitialRequestError()
          Invoked when the interstitial ad could not be requested or loaded due to an error.
 void onNoInterstitialAvailable()
          Invoked when a response has been received from SponsorPayÕs backend indicating that no interstitial ad is available for this particular request.
 void onWillShowInterstitial()
          Invoked when SponsorPayÕs backend has returned an ad.
 

Method Detail

onWillShowInterstitial

void onWillShowInterstitial()
Invoked when SponsorPayÕs backend has returned an ad. The InterstitialActivity is about to be shown.


onNoInterstitialAvailable

void onNoInterstitialAvailable()
Invoked when a response has been received from SponsorPayÕs backend indicating that no interstitial ad is available for this particular request.


onInterstitialRequestError

void onInterstitialRequestError()
Invoked when the interstitial ad could not be requested or loaded due to an error. The device might not have a working connection to the Internet.


onInterstitialLoadingTimeOut

void onInterstitialLoadingTimeOut()
Invoked when the interstitial ad request or the loading of the interstitial contents could not be performed within the amount of time defined by the loading timeout value.