public interface POBAdDescriptor
| Modifier and Type | Field and Description |
|---|---|
static int |
BID_STATUS_OK
Constant for OK status
|
| Modifier and Type | Method and Description |
|---|---|
POBAdDescriptor |
buildWithRefreshAndExpiryTimeout(int refreshInterval,
int expiryTimeout)
Create new descriptor type by updating existing descriptor's refresh interval and expiryTimeout
|
int |
getContentHeight()
Returns the height of the content to be render
|
int |
getContentWidth()
Returns the width of the content to be render
|
java.lang.String |
getCreativeType()
To get creative type of ad descriptor
|
java.lang.String |
getId()
Returns the Id associated with the Ad descriptor's sub class
|
org.json.JSONObject |
getRawBid()
Returns the JSON object of the Bid
|
int |
getRefreshInterval()
Returns the refresh interval from the ad response descriptor
|
java.lang.String |
getRenderableContent()
Returns the content to be render
|
int |
getStatus()
Returns status of bid.
|
java.util.Map<java.lang.String,java.lang.String> |
getTargetingInfo()
Returns the map of bid-targeting information only, that needs to be passed to ad server SDK.
|
boolean |
isVideo()
Returns the state of type video
|
static final int BID_STATUS_OK
java.lang.String getRenderableContent()
boolean isVideo()
int getContentWidth()
int getContentHeight()
org.json.JSONObject getRawBid()
int getRefreshInterval()
@Nullable java.lang.String getId()
@Nullable java.lang.String getCreativeType()
int getStatus()
@Nullable java.util.Map<java.lang.String,java.lang.String> getTargetingInfo()
@Nullable POBAdDescriptor buildWithRefreshAndExpiryTimeout(int refreshInterval, int expiryTimeout)
refreshInterval - the refresh interval in secondsexpiryTimeout - the expiryTimeout in milliseconds