com.yandex.mobile.ads.nativeads

Interface SliderAdLoadListener

  1. Method Summary
  2. Method Detail
    1. onSliderAdLoaded
    2. onSliderAdFailedToLoad


public interface SliderAdLoadListener
Interface that is implemented to determine when the loading of slider ad has completed or failed.

Method Summary

All Methods
Instance Methods
Abstract Methods
Modifier and TypeMethod and Description
voidonSliderAdFailedToLoad(AdRequestError error)
Called when a slider ad request failed.
voidonSliderAdLoaded(SliderAd sliderAd)
Notifies when slider ad is loaded.

Method Detail

onSliderAdLoaded

void onSliderAdLoaded(@NonNull
                      SliderAd sliderAd)
Notifies when slider ad is loaded.
Parameters:
sliderAd - Slider ad, which is ready to be bound to view.

onSliderAdFailedToLoad

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