public class Advertising extends AdvertisingBase
| Constructor and Description |
|---|
Advertising(AdSource client,
java.util.List<AdBreak> schedule) |
Advertising(Advertising src) |
| Modifier and Type | Method and Description |
|---|---|
AdvertisingBase |
copy() |
java.lang.Boolean |
getConditionalAdOptOut() |
java.lang.Integer |
getCreativeTimeout() |
java.lang.String |
getPodMessage() |
java.util.List<AdBreak> |
getSchedule() |
void |
setConditionalAdOptOut(java.lang.Boolean conditionalAdOptOut) |
void |
setCreativeTimeout(java.lang.Integer creativeTimeout) |
void |
setPodMessage(java.lang.String podMessage) |
void |
setSchedule(java.util.List<AdBreak> schedule) |
org.json.JSONObject |
toJson() |
getAdMessage, getAdRules, getClient, getCueText, getRequestTimeout, getSkipMessage, getSkipOffset, getSkipText, getVpaidControls, setAdMessage, setAdRules, setClient, setCueText, setRequestTimeout, setSkipMessage, setSkipOffset, setSkipText, setVpaidControlspublic Advertising(Advertising src)
@Nullable public java.util.List<AdBreak> getSchedule()
public java.lang.String getPodMessage()
public java.lang.Boolean getConditionalAdOptOut()
public java.lang.Integer getCreativeTimeout()
public void setSchedule(java.util.List<AdBreak> schedule)
public void setPodMessage(java.lang.String podMessage)
podMessage - Text that displays during playback of an ad pod. Use __AD_POD_CURRENT__ to denote the currently playing item in the pod and __AD_POD_LENGTH__ for the total number of ads in the pod.public void setConditionalAdOptOut(java.lang.Boolean conditionalAdOptOut)
conditionalAdOptOut - (VPAID-only) Used to tell the player to not play ads with the conditionalAd attribute inside of the VAST response.public void setCreativeTimeout(java.lang.Integer creativeTimeout)
creativeTimeout - In milliseconds, the maximum amount of time between the VAST XML being returned and the adStart event before timing out.public AdvertisingBase copy()
copy in class AdvertisingBasepublic org.json.JSONObject toJson()
toJson in interface com.longtailvideo.jwplayer.utils.JsonabletoJson in class AdvertisingBase