com.yandex.mobile.ads.nativeads

Interface SliderAd

  1. Method Summary
  2. Method Detail
    1. bindSliderAd
    2. getNativeAds


public interface SliderAd
Interface allows to bind NativeAdViewBinder with slider content,

Method Summary

All Methods
Instance Methods
Abstract Methods
Modifier and TypeMethod and Description
voidbindSliderAd(NativeAdViewBinder viewBinder)
Bind view with native ad's content.
java.util.List<NativeAd>getNativeAds()
Ads which should be displayed in slider ad view.

Method Detail

bindSliderAd

void bindSliderAd(@NonNull
                  NativeAdViewBinder viewBinder)
           throws NativeAdException
Bind view with native ad's content.
Parameters:
viewBinder - An NativeAdViewBinder object.
Throws:
NativeAdException - If attempt to bind ad to view without providing view for any of required assets.

getNativeAds

@NonNull
java.util.List<NativeAd> getNativeAds()
Ads which should be displayed in slider ad view. Each ad view should be subview of slider ad view.
Returns:
List.