public static class InterstitialEventListener.SimpleInterstitialEventListener extends java.lang.Object implements InterstitialEventListener
InterstitialEventListener
.
Override this if you only care about a few of the available callback methods.InterstitialEventListener.SimpleInterstitialEventListener
Constructor and Description |
---|
SimpleInterstitialEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAdClosed()
Called when the in-app browser has been closed.
|
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 |
onAdOpened()
Called when the in-app browser has been opened,
as a result of clicking on the ad.
|
void |
onInterstitialDismissed()
Called when an interstitial ad has been dismissed.
|
void |
onInterstitialFailedToLoad(AdRequestError error)
Called when an interstitial ad request failed.
|
void |
onInterstitialLoaded()
Called when an interstitial ad has been loaded.
|
void |
onInterstitialShown()
Called when an interstitial ad has been shown.
|
public void onInterstitialDismissed()
InterstitialEventListener
onInterstitialDismissed
in interface InterstitialEventListener
public void onInterstitialFailedToLoad(AdRequestError error)
InterstitialEventListener
onInterstitialFailedToLoad
in interface InterstitialEventListener
error
- see errors here AdRequestError
public void onInterstitialLoaded()
InterstitialEventListener
onInterstitialLoaded
in interface InterstitialEventListener
public void onInterstitialShown()
InterstitialEventListener
onInterstitialShown
in interface InterstitialEventListener
public void onAdClosed()
InterstitialEventListener
onAdClosed
in interface com.yandex.mobile.ads.base.AdListener
onAdClosed
in interface InterstitialEventListener
public void onAdLeftApplication()
InterstitialEventListener
onAdLeftApplication
in interface com.yandex.mobile.ads.base.AdListener
onAdLeftApplication
in interface InterstitialEventListener
public void onAdOpened()
InterstitialEventListener
onAdOpened
in interface com.yandex.mobile.ads.base.AdListener
onAdOpened
in interface InterstitialEventListener