Interface NativeAd.NativeAdListener

Enclosing class:
NativeAd

public static interface NativeAd.NativeAdListener
  • Method Details

    • onLoad

      void onLoad(NativePromoBanner banner, NativeAd ad)
      Calls if the data is loaded successfully.
      Parameters:
      banner - banner model
      ad - current instance
      See Also:
    • onNoAd

      void onNoAd(IAdLoadingError adLoadingError, NativeAd ad)
      Calls if no data received
      Parameters:
      adLoadingError - reason for not receiving ad
      ad - current instance
    • onClick

      void onClick(NativeAd ad)
      Calls when user clicks on ad creative
      Parameters:
      ad - current instance
    • onShow

      void onShow(NativeAd ad)
      Calls when ad appears on screen
      Parameters:
      ad - current instance
    • onVideoPlay

      void onVideoPlay(NativeAd ad)
      Calls when video inside banner starts playing
      Parameters:
      ad - current instance
    • onVideoPause

      void onVideoPause(NativeAd ad)
      Calls when video inside banner paused
      Parameters:
      ad - current instance
    • onVideoComplete

      void onVideoComplete(NativeAd ad)
      Calls when video inside banner completes playing
      Parameters:
      ad - current instance