com.yandex.mobile.ads.nativeads

Interface NativeBulkAdLoadListener

  1. Method Summary
  2. Method Detail
    1. onAdsLoaded
    2. onAdsFailedToLoad


public interface NativeBulkAdLoadListener
Interface that is implemented to determine when the loading of bulk ad request has completed or failed.

Method Summary

All Methods
Instance Methods
Abstract Methods
Modifier and TypeMethod and Description
voidonAdsFailedToLoad(AdRequestError error)
Called when a slider ad request failed.
voidonAdsLoaded(java.util.List<NativeAd> nativeAds)
Notifies when native ads are loaded.

Method Detail

onAdsLoaded

void onAdsLoaded(@NonNull
                 java.util.List<NativeAd> nativeAds)
Notifies when native ads are loaded.
Parameters:
nativeAds - List of ads, which is ready to be bound to view.

onAdsFailedToLoad

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