Interface InterstitialAdEventListener
-
public interface InterstitialAdEventListenerA listener for receiving notifications during the lifecycle of an interstitial ad.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAdDismissed()Called when an interstitial ad has been dismissed.voidonAdFailedToLoad(AdRequestError error)Called when an interstitial ad request failed.voidonAdLoaded()Called when an interstitial ad has been loaded.voidonAdShown()Called when an interstitial ad has been shown.voidonLeftApplication()Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.voidonReturnedToApplication()Called when user returned to application after click.
-
-
-
Method Detail
-
onAdLoaded
void onAdLoaded()
Called when an interstitial ad has been loaded.
-
onAdFailedToLoad
void onAdFailedToLoad(@NonNull AdRequestError error)Called when an interstitial ad request failed.- Parameters:
error- see errors hereAdRequestError
-
onAdShown
void onAdShown()
Called when an interstitial ad has been shown.
-
onAdDismissed
void onAdDismissed()
Called when an interstitial ad has been dismissed.
-
onLeftApplication
void onLeftApplication()
Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.
-
onReturnedToApplication
void onReturnedToApplication()
Called when user returned to application after click.
-
-