Interface NativeAdLoadListener


  • @MainThread
    public interface NativeAdLoadListener
    Interface that is implemented to determine when the loading of native advertising has completed or failed.
    • Method Detail

      • onAdLoaded

        void onAdLoaded​(@NonNull
                        NativeAd nativeAd)
        Notifies when native ad is loaded.
        Parameters:
        nativeAd - Native ad, which is ready to be bound to view.
      • onAdFailedToLoad

        void onAdFailedToLoad​(@NonNull
                              AdRequestError error)
        Called when a native ad request failed.
        Parameters:
        error - see errors here AdRequestError