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()
AdEventListener
onAdClosed
in interface AdEventListener
onAdClosed
in interface com.yandex.mobile.ads.base.AdListener
public void onAdFailedToLoad(@NonNull AdRequestError error)
AdEventListener
onAdFailedToLoad
in interface AdEventListener
error
- see errors here AdRequestError
public void onAdLeftApplication()
AdEventListener
onAdLeftApplication
in interface AdEventListener
onAdLeftApplication
in interface com.yandex.mobile.ads.base.AdListener
public void onAdLoaded()
AdEventListener
onAdLoaded
in interface AdEventListener
public void onAdOpened()
AdEventListener
onAdOpened
in interface AdEventListener
onAdOpened
in interface com.yandex.mobile.ads.base.AdListener