public abstract class POBBannerEvent
extends com.pubmatic.sdk.openwrap.core.POBBaseEvent
| Constructor and Description |
|---|
POBBannerEvent() |
| Modifier and Type | Method and Description |
|---|---|
com.pubmatic.sdk.openwrap.core.POBBaseAdInteractionListener |
getAdInteractionListener()
Returns the instance of the Inline Ad interaction listener.
|
android.view.View |
getAdServerView()
To retrieve ad server ad view
|
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.
|
com.pubmatic.sdk.common.POBAdSize[] |
requestedAdSizes()
OpenWrap SDK calls this method to get the size for which ad request should be made.
|
abstract 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.
|
public abstract void setEventListener(@NonNull
POBBannerEventListener listener)
Save the `listener` to use it in later phases of ad server events execution
listener - object conforming to POBBannerEventListener@Nullable public com.pubmatic.sdk.common.ui.POBBannerRendering getRenderer(java.lang.String partnerName)
partnerName - name of the partner associated with the winning bid@Nullable public com.pubmatic.sdk.common.POBAdSize getAdSize()
@Nullable public com.pubmatic.sdk.common.POBAdSize[] requestedAdSizes()
@Nullable public com.pubmatic.sdk.openwrap.core.POBBaseAdInteractionListener getAdInteractionListener()
@Nullable public android.view.View getAdServerView()