public interface POBBannerEvent
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
OpenWrap SDK calls this method to perform any final cleanup.
|
com.pubmatic.sdk.common.POBAdSize |
getAdSize()
OpenWrap SDK calls this method to get the size of the ad rendered by the ad server SDK
|
com.pubmatic.sdk.common.ui.POBBannerRendering |
getRenderer(java.lang.String partnerName)
OpenWrap SDK calls this method to get the implementation of POBBannerRendering interface to
render ad in custom rendering component.
|
void |
requestAd(POBBid bid)
OpenWrap SDK calls this method when it has valid bid/s to pass to the ad server.
|
com.pubmatic.sdk.common.POBAdSize[] |
requestedAdSizes()
OpenWrap SDK calls this method to get the size for which ad request should be made.
|
void |
setEventListener(POBBannerEventListener listener)
OpenWrap SDK calls this method to set POBBannerEventListener, so OpenWrap custom event handler
can inform the OpenWrap SDK about the events related to the ad server communication.
|
void requestAd(POBBid bid)
bid - bid details object having price and other useful information that can be passed to
the ad server SDKvoid setEventListener(POBBannerEventListener listener)
listener - object conforming to POBBannerEventListener@Nullable com.pubmatic.sdk.common.ui.POBBannerRendering getRenderer(java.lang.String partnerName)
partnerName - name of the partner associated with the winning bidcom.pubmatic.sdk.common.POBAdSize getAdSize()
com.pubmatic.sdk.common.POBAdSize[] requestedAdSizes()
void destroy()