public static interface

InMobiInterstitial.InterstitialAdListener2

com.inmobi.ads.InMobiInterstitial.InterstitialAdListener2

Class Overview

Listener for receiving notifications during the lifecycle of an interstitial.

Summary

Public Methods
abstract void onAdDismissed(InMobiInterstitial ad)
Called to indicate that the fullscreen overlay opened by the ad was closed.
abstract void onAdDisplayFailed(InMobiInterstitial ad)
Called to indicate that a request to show an ad (by calling show() failed.
abstract void onAdDisplayed(InMobiInterstitial ad)
Called to indicate that the fullscreen overlay is now the topmost screen.
abstract void onAdInteraction(InMobiInterstitial ad, Map<Object, Object> params)
Called to indicate that an ad interaction was observed.
abstract void onAdLoadFailed(InMobiInterstitial ad, InMobiAdRequestStatus status)
Callback to signal that a request to fetch an ad (by calling load() failed.
abstract void onAdLoadSucceeded(InMobiInterstitial ad)
Called to indicate that an ad was loaded and it can now be shown.
abstract void onAdReceived(InMobiInterstitial ad)
Called to indicate that an ad is available in response to a request for an ad (by calling load().
abstract void onAdRewardActionCompleted(InMobiInterstitial ad, Map<Object, Object> rewards)
Called to indicate that rewards have been unlocked.
abstract void onAdWillDisplay(InMobiInterstitial ad)
Called to indicate that the ad will be launching a fullscreen overlay.
abstract void onUserLeftApplication(InMobiInterstitial ad)
Called to indicate that the user may leave the application on account of interacting with the ad.

Public Methods

public abstract void onAdDismissed (InMobiInterstitial ad)

Called to indicate that the fullscreen overlay opened by the ad was closed.

public abstract void onAdDisplayFailed (InMobiInterstitial ad)

Called to indicate that a request to show an ad (by calling show() failed. You should call load() to request for a fresh ad.

public abstract void onAdDisplayed (InMobiInterstitial ad)

Called to indicate that the fullscreen overlay is now the topmost screen.

public abstract void onAdInteraction (InMobiInterstitial ad, Map<Object, Object> params)

Called to indicate that an ad interaction was observed.

public abstract void onAdLoadFailed (InMobiInterstitial ad, InMobiAdRequestStatus status)

Callback to signal that a request to fetch an ad (by calling load() failed. The status code indicating the reason for failure is available as a parameter. You should call load() again to request a fresh ad.

public abstract void onAdLoadSucceeded (InMobiInterstitial ad)

Called to indicate that an ad was loaded and it can now be shown. This will always be called after the onAdReceived(InMobiInterstitial) callback.

public abstract void onAdReceived (InMobiInterstitial ad)

Called to indicate that an ad is available in response to a request for an ad (by calling load().

Note This does not indicate that the ad can be shown yet. Your code should show an ad after the onAdLoadSucceeded(InMobiInterstitial) method is called. Alternately, if you do not want to handle this event, you must test if the ad is ready to be shown by checking the result of calling the isReady() method.

public abstract void onAdRewardActionCompleted (InMobiInterstitial ad, Map<Object, Object> rewards)

Called to indicate that rewards have been unlocked.

public abstract void onAdWillDisplay (InMobiInterstitial ad)

Called to indicate that the ad will be launching a fullscreen overlay.

public abstract void onUserLeftApplication (InMobiInterstitial ad)

Called to indicate that the user may leave the application on account of interacting with the ad.