public class AdListener extends Object
InterstitialAd
.Constructor and Description |
---|
AdListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAdClicked()
An ad was clicked by the user.
|
void |
onAdClosed()
An ad was closed by the user (explicitly or implicitly with a click).
|
void |
onAdLeftApplication()
An ad that was clicked on has now left the application.
|
void |
onAdLoaded(Object ad)
An ad was loaded in the background.
|
void |
onAdLoadFailed(ErrorReason error)
A failure prevented an ad from loading.
|
void |
onAdOpened()
An ad was displayed to the user.
|
public void onAdLoaded(Object ad)
ad
- ad that was loadedpublic void onAdOpened()
public void onAdLeftApplication()
public void onAdClicked()
public void onAdClosed()
public void onAdLoadFailed(ErrorReason error)
error
- reason for failure