Package 

Interface NativeAdEventListener

  • All Implemented Interfaces:

    @MainThread() 
    public interface NativeAdEventListener
    
                        

    A listener for receiving notifications during the lifecycle of a native ad.

    • 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 onAdClicked() Called when user clicked on the ad.
      abstract Unit onLeftApplication() Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.
      abstract Unit onReturnedToApplication() Called when user returned to application after click.
      abstract Unit onImpression(ImpressionData impressionData) Called when an impression was observed
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onAdClicked

         abstract Unit onAdClicked()

        Called when user clicked on the ad.

      • onLeftApplication

         abstract Unit onLeftApplication()

        Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.

      • onImpression

         abstract Unit onImpression(ImpressionData impressionData)

        Called when an impression was observed

        Parameters:
        impressionData -
        • impression level revenue data