Package com.yandex.mobile.ads.nativeads
Interface NativeAdLoadListener
-
public interface NativeAdLoadListenerInterface 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 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 hereAdRequestError
-
-