public class POBCompanion extends POBVastCreative implements com.pubmatic.sdk.common.base.POBAdDescriptor
POBVastCreative.CreativeType, POBVastCreative.POBEventTypesmClickTrackers| Constructor and Description |
|---|
POBCompanion() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(POBNodeBuilder builder)
POBXMLParser calls this method to build model class object with node builder
|
java.lang.String |
getApiFramework()
The API necessary to communicate with the creative if available
|
int |
getAssetHeight()
The pixel width of the creative.
|
int |
getAssetWidth()
The pixel width of the creative.
|
java.lang.String |
getClickThroughURL()
A URI to open when companion ad is clicked.
|
java.util.List<java.lang.String> |
getClickTrackers()
A URI to notify the player that ad was clicked.
|
int |
getContentHeight() |
int |
getContentWidth() |
POBVastCreative.CreativeType |
getCreativeType()
Getter method, provides type of creative which is implemented at child classes
specific event type classes
|
int |
getHeight()
Returns the height of placement slot
|
org.json.JSONObject |
getRawBid() |
int |
getRefreshInterval() |
java.lang.String |
getRenderableContent() |
java.lang.String |
getRenderingMode() |
POBResource |
getResource()
Companion resources to be displayed
|
java.util.List<POBTracking> |
getTrackingEvents()
List of event tracker URL's
|
java.lang.String |
getUniversalAdId()
A unique creative identifier
|
int |
getWidth()
Returns the width of placement slot
|
boolean |
isVideo() |
void |
setRenderingMode(java.lang.String renderingMode) |
getTrackingEvents, getTrackingEventUrlspublic void build(POBNodeBuilder builder)
POBXMLNodeListenerbuild in interface POBXMLNodeListenerpublic int getWidth()
public int getHeight()
public int getAssetWidth()
public int getAssetHeight()
public java.lang.String getApiFramework()
public java.lang.String getRenderingMode()
public void setRenderingMode(java.lang.String renderingMode)
public POBResource getResource()
public java.util.List<POBTracking> getTrackingEvents()
POBVastCreativepublic POBVastCreative.CreativeType getCreativeType()
POBVastCreativegetCreativeType in class POBVastCreativepublic java.lang.String getClickThroughURL()
getClickThroughURL in class POBVastCreativepublic java.util.List<java.lang.String> getClickTrackers()
getClickTrackers in class POBVastCreativepublic java.lang.String getUniversalAdId()
public java.lang.String getRenderableContent()
getRenderableContent in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic boolean isVideo()
isVideo in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getContentWidth()
getContentWidth in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getContentHeight()
getContentHeight in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic org.json.JSONObject getRawBid()
getRawBid in interface com.pubmatic.sdk.common.base.POBAdDescriptorpublic int getRefreshInterval()
getRefreshInterval in interface com.pubmatic.sdk.common.base.POBAdDescriptor