Interface BannerAdEventListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onAdLoaded() Called when an ad is successfully loaded and displayed.
      abstract Unit onAdFailed(AdError adError) Called when the ad fails to load.
      abstract Unit onAdClicked() Called when the user clicks the ad.
      abstract Unit onLeftApplication() Called when the user is about to leave the application as a result of interacting with the ad.
      abstract Unit onReturnedToApplication() Called when the user returns to the application after interacting with the ad.
      abstract Unit onImpression(ImpressionData impressionData) Called when an ad impression is recorded.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onAdLoaded

         abstract Unit onAdLoaded()

        Called when an ad is successfully loaded and displayed.

      • onAdFailed

         abstract Unit onAdFailed(AdError adError)

        Called when the ad fails to load.

        Parameters:
        adError - The error describing the reason for the failure.
      • onAdClicked

         abstract Unit onAdClicked()

        Called when the user clicks the ad.

      • onLeftApplication

         abstract Unit onLeftApplication()

        Called when the user is about to leave the application as a result of interacting with the ad.

      • onReturnedToApplication

         abstract Unit onReturnedToApplication()

        Called when the user returns to the application after interacting with the ad.

      • onImpression

         abstract Unit onImpression(ImpressionData impressionData)

        Called when an ad impression is recorded.

        Parameters:
        impressionData - Optional impression data.