public abstract class

BannerAdEventListener

extends Object
java.lang.Object
   ↳ com.inmobi.ads.listeners.BannerAdEventListener

Class Overview

A listener for receiving notifications during the lifecycle of a banner ad.

Summary

Public Constructors
BannerAdEventListener()
Public Methods
void onAdClicked(InMobiBanner ad, Map<Object, Object> params)
Called to notify that the user interacted with the ad.
void onAdDismissed(InMobiBanner ad)
Called to notify that the User is about to return to the application after closing the ad.
void onAdDisplayed(InMobiBanner ad)
Called to notify that the banner ad was displayed
void onAdLoadFailed(InMobiBanner ad, InMobiAdRequestStatus status)
Called to notify that a request to load an ad failed.
void onAdLoadSucceeded(InMobiBanner ad)
Called to notify that an ad was successfully loaded.
void onRequestPayloadCreated(byte[] requestPayload)
Called to notify when the request payload is created
void onRequestPayloadCreationFailed(InMobiAdRequestStatus status)
Called to notify when the request payload creation fails
void onRewardsUnlocked(InMobiBanner ad, Map<Object, Object> rewards)
Called to notify that a reward was unlocked.
void onUserLeftApplication(InMobiBanner ad)
Called to notify that the user is about to leave the application as a result of interacting with the ad.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BannerAdEventListener ()

Public Methods

public void onAdClicked (InMobiBanner ad, Map<Object, Object> params)

Called to notify that the user interacted with the ad.

Parameters
ad Represents the InMobiBanner ad on which user clicked
params Represents the click parameters

public void onAdDismissed (InMobiBanner ad)

Called to notify that the User is about to return to the application after closing the ad.

Parameters
ad Represents the InMobiBanner ad which was closed

public void onAdDisplayed (InMobiBanner ad)

Called to notify that the banner ad was displayed

Parameters
ad Represents the InMobiBanner ad which was displayed

public void onAdLoadFailed (InMobiBanner ad, InMobiAdRequestStatus status)

Called to notify that a request to load an ad failed.

Parameters
ad Represents the InMobiBanner ad which failed to load
status Represents the InMobiAdRequestStatus status containing error reason

public void onAdLoadSucceeded (InMobiBanner ad)

Called to notify that an ad was successfully loaded.

Parameters
ad Represents the InMobiBanner ad which was loaded

public void onRequestPayloadCreated (byte[] requestPayload)

Called to notify when the request payload is created

Parameters
requestPayload Represents the request payload

public void onRequestPayloadCreationFailed (InMobiAdRequestStatus status)

Called to notify when the request payload creation fails

Parameters
status Represents the InMobiAdRequestStatus status containing error reason

public void onRewardsUnlocked (InMobiBanner ad, Map<Object, Object> rewards)

Called to notify that a reward was unlocked.

Parameters
ad Represents the InMobiBanner ad for which rewards was unlocked
rewards Represents the rewards unlocked

public void onUserLeftApplication (InMobiBanner ad)

Called to notify that the user is about to leave the application as a result of interacting with the ad.

Parameters
ad Represents the InMobiBanner ad