Package com.yandex.mobile.ads.nativeads
Interface NativeAdLoadListener
-
@MainThread 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 Type Method 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
-
-