Interface NativeAd.NativeAdListener

Enclosing class:
NativeAd

public static interface NativeAd.NativeAdListener
  • Method Details

    • onLoad

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

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

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

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

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

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

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