public static class AdEventListener.SimpleAdEventListener extends java.lang.Object implements AdEventListener
AdEventListener.
Override this if you only care about a few of the available callback methods.AdEventListener.SimpleAdEventListener| Constructor and Description |
|---|
SimpleAdEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAdClosed()
Called when the in-app browser has been closed.
|
void |
onAdFailedToLoad(AdRequestError error)
Called when an ad request failed
|
void |
onAdLeftApplication()
Called when user is about to leave application (e.g., to go to the browser),
as a result of clicking on the ad.
|
void |
onAdLoaded()
Called when an ad is received.
|
void |
onAdOpened()
Called when the in-app browser has been opened,
as a result of clicking on the ad.
|
public void onAdClosed()
AdEventListeneronAdClosed in interface AdEventListeneronAdClosed in interface com.yandex.mobile.ads.base.AdListenerpublic void onAdFailedToLoad(@NonNull
AdRequestError error)
AdEventListeneronAdFailedToLoad in interface AdEventListenererror - see errors here AdRequestErrorpublic void onAdLeftApplication()
AdEventListeneronAdLeftApplication in interface AdEventListeneronAdLeftApplication in interface com.yandex.mobile.ads.base.AdListenerpublic void onAdLoaded()
AdEventListeneronAdLoaded in interface AdEventListenerpublic void onAdOpened()
AdEventListeneronAdOpened in interface AdEventListeneronAdOpened in interface com.yandex.mobile.ads.base.AdListener