com.yandex.mobile.ads.nativeads
Interface NativeAdLoadListener
public interface NativeAdLoadListener
Interface that is implemented to determine when the loading of native advertising has completed or failed.
Method Summary
Modifier and Type | Method and Description |
---|---|
void | onAdFailedToLoad(AdRequestError error)
Called when a native ad request failed.
|
void | onAdLoaded(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 hereAdRequestError