com.yandex.mobile.ads.nativeads

Interface NativeAdLoadListener

  1. Method Summary
  2. Method Detail
    1. onAdLoaded
    2. onAdFailedToLoad


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

Method Summary

All Methods
Instance Methods
Abstract Methods
Modifier and TypeMethod and Description
voidonAdFailedToLoad(AdRequestError error)
Called when a native ad request failed.
voidonAdLoaded(NativeAd nativeAd)
Notifies when native ad is loaded.

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