Package ru.buzzoola.ads.nativewaterfall
Interface NativeWaterfallAd
-
- All Implemented Interfaces:
public interface NativeWaterfallAdNative waterfall ad.
-
-
Method Summary
Modifier and Type Method Description abstract UnitbindAd(NativeAdView nativeAdView)Binds the specified view with ad content. abstract UnitsetUpdateInterval(@IntRange(from = 10, to = 30) Integer interval)Sets ad update time interval. abstract UnitsetNativeWaterfallAdEventListener(NativeWaterfallAdEventListener listener)Sets a listener to receive native waterfall ad events. -
-
Method Detail
-
bindAd
abstract Unit bindAd(NativeAdView nativeAdView)
Binds the specified view with ad content.
All loaded ads will be displayed sequentially, with the specified interval between impressions.
- Parameters:
nativeAdView- The view to bind with the ad content.
-
setUpdateInterval
abstract Unit setUpdateInterval(@IntRange(from = 10, to = 30) Integer interval)
Sets ad update time interval.
The waterfall will be updated automatically.
- Parameters:
interval- The update interval in seconds (must be between 10 and 30, default is 10).
-
setNativeWaterfallAdEventListener
abstract Unit setNativeWaterfallAdEventListener(NativeWaterfallAdEventListener listener)
Sets a listener to receive native waterfall ad events.
- Parameters:
listener- The NativeWaterfallAdEventListener to receive events, ornullto remove the current listener.
-
-
-
-