Package 

Interface InterstitialAdUnitListener


  • 
    public interface InterstitialAdUnitListener
    
                        

    Listener interface representing InterstitialAdUnit events. All methods will be invoked on the main thread.

    • Method Summary

      Modifier and Type Method Description
      abstract void onAdLoaded(InterstitialAdUnit interstitialAdUnit) Executed when the ad is loaded and is ready for display.
      abstract void onAdDisplayed(InterstitialAdUnit interstitialAdUnit) Executed when the ad is displayed on screen.
      abstract void onAdFailed(InterstitialAdUnit interstitialAdUnit, AdException exception) Executed when an error is encountered on initialization / loading or display step.
      abstract void onAdClicked(InterstitialAdUnit interstitialAdUnit) Executed when interstitialAdUnit is clicked.
      abstract void onAdClosed(InterstitialAdUnit interstitialAdUnit) Executed when interstitialAdUnit is closed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onAdLoaded

         abstract void onAdLoaded(InterstitialAdUnit interstitialAdUnit)

        Executed when the ad is loaded and is ready for display.

        Parameters:
        interstitialAdUnit - view of the corresponding event.
      • onAdDisplayed

         abstract void onAdDisplayed(InterstitialAdUnit interstitialAdUnit)

        Executed when the ad is displayed on screen.

        Parameters:
        interstitialAdUnit - view of the corresponding event.
      • onAdFailed

         abstract void onAdFailed(InterstitialAdUnit interstitialAdUnit, AdException exception)

        Executed when an error is encountered on initialization / loading or display step.

        Parameters:
        interstitialAdUnit - view of the corresponding event.
        exception - exception containing detailed message and error type.
      • onAdClicked

         abstract void onAdClicked(InterstitialAdUnit interstitialAdUnit)

        Executed when interstitialAdUnit is clicked.

        Parameters:
        interstitialAdUnit - view of the corresponding event.
      • onAdClosed

         abstract void onAdClosed(InterstitialAdUnit interstitialAdUnit)

        Executed when interstitialAdUnit is closed.

        Parameters:
        interstitialAdUnit - view of the corresponding event.