Interface PrebidMobilePluginRenderer
-
- All Known Implementing Classes:
PrebidRenderer
public interface PrebidMobilePluginRenderer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description android.view.ViewcreateBannerAdView(android.content.Context context, DisplayViewListener displayViewListener, DisplayVideoListener displayVideoListener, AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse)Creates and returns Banner View for a given Bid Response.PrebidMobileInterstitialControllerInterfacecreateInterstitialController(android.content.Context context, InterstitialControllerListener interstitialControllerListener, AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse)Creates and returns an implementation of PrebidMobileInterstitialControllerInterface for a given bid response Returns nil in the case of an internal errorjava.lang.StringgetName()java.lang.StringgetToken()java.lang.StringgetVersion()booleanisSupportRenderingFor(AdUnitConfiguration adUnitConfiguration)Returns true only if the given ad unit could be renderer by the plugin
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getVersion
java.lang.String getVersion()
-
getToken
java.lang.String getToken()
-
createBannerAdView
android.view.View createBannerAdView(android.content.Context context, DisplayViewListener displayViewListener, DisplayVideoListener displayVideoListener, AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse)Creates and returns Banner View for a given Bid Response. Returns nil in the case of an internal error.
Don't forget to clean resources inView.onDetachedFromWindow().
-
createInterstitialController
PrebidMobileInterstitialControllerInterface createInterstitialController(android.content.Context context, InterstitialControllerListener interstitialControllerListener, AdUnitConfiguration adUnitConfiguration, BidResponse bidResponse)
Creates and returns an implementation of PrebidMobileInterstitialControllerInterface for a given bid response Returns nil in the case of an internal error
-
isSupportRenderingFor
boolean isSupportRenderingFor(AdUnitConfiguration adUnitConfiguration)
Returns true only if the given ad unit could be renderer by the plugin
-
-