Package com.rtb.sdk
Class RTBBannerAd
-
- All Implemented Interfaces:
public final class RTBBannerAd
-
-
Field Summary
Fields Modifier and Type Field Description private RTBBannerAdDelegatedelegateprivate List<RTBDSPBannerProtocol>dspAdaptersprivate final RTBBannerSizebannerSize
-
Constructor Summary
Constructors Constructor Description RTBBannerAd(Context context, RTBBannerSize bannerSize)
-
Method Summary
Modifier and Type Method Description final RTBBannerAdDelegategetDelegate()Delegate that will be notified with banner ad events final UnitsetDelegate(RTBBannerAdDelegate delegate)Delegate that will be notified with banner ad events final List<RTBDSPBannerProtocol>getDspAdapters()Optional list of special adapters handling extra requirements of select DSPs final UnitsetDspAdapters(List<RTBDSPBannerProtocol> dspAdapters)Optional list of special adapters handling extra requirements of select DSPs final RTBBannerSizegetBannerSize()final Unitload(RTBBannerRequestConfiguration configuration)Loads a new ad with given banner request configuration. final ViewgetBannerView()Returns the banner view for loaded ad. -
-
Constructor Detail
-
RTBBannerAd
RTBBannerAd(Context context, RTBBannerSize bannerSize)
-
-
Method Detail
-
getDelegate
final RTBBannerAdDelegate getDelegate()
Delegate that will be notified with banner ad events
-
setDelegate
final Unit setDelegate(RTBBannerAdDelegate delegate)
Delegate that will be notified with banner ad events
-
getDspAdapters
final List<RTBDSPBannerProtocol> getDspAdapters()
Optional list of special adapters handling extra requirements of select DSPs
-
setDspAdapters
final Unit setDspAdapters(List<RTBDSPBannerProtocol> dspAdapters)
Optional list of special adapters handling extra requirements of select DSPs
-
getBannerSize
final RTBBannerSize getBannerSize()
-
load
final Unit load(RTBBannerRequestConfiguration configuration)
Loads a new ad with given banner request configuration.
-
getBannerView
final View getBannerView()
Returns the banner view for loaded ad. If no ad is loaded, returned view will be empty.
-
-
-
-