A model of a VMAP Ad spot, which extends VAST Ad spot with additional VMAP attributes.
More...
|
| VMAPAdSpot (final TimeOffset timeOffset, int duration, double repeatAfter, String breakType, String breakId, String sourceId, Boolean allowMultipleAds, Boolean followRedirects, Element e) |
| Create a VMAP Ad Spot with an XML document. More...
|
|
| VMAPAdSpot (final TimeOffset timeOffset, int duration, double repeatAfter, String breakType, String breakId, String sourceId, Boolean allowMultipleAds, Boolean followRedirects, URL vastUrl) |
| create a VMAP Ad Spot with an url to the VAST XML More...
|
|
int | getTime () |
|
double | getOriginalTimeInMilliseconds () |
|
final TimeOffset | getTimeOffset () |
|
double | getRepeatAfter () |
|
final String | getBreakType () |
|
final String | getBreakId () |
|
final String | getAdSourceId () |
|
boolean | getAllowMultipleAds () |
|
boolean | getFollowRedirects () |
|
boolean | isRepeatable () |
|
void | markAsPlayed () |
| mark the ad spot as played More...
|
|
void | markAsUnplayed () |
| mark the ad spot as unplayed More...
|
|
ReturnState | update (JSONObject data) |
| Update the VASTAdSpot using the specified data (subclasses should override and call this) More...
|
|
boolean | fetchPlaybackInfo (OoyalaAPIClient api, PlayerInfo info) |
| Fetch the additional required info for the ad NOTE: As of right now, we only support VAST 2.0 Linear Ads. More...
|
|
List< Ad > | getAds () |
|
URL | getVASTURL () |
|
List< VASTAdSpot > | getVMAPAdSpots () |
|
boolean | isInfoFetched () |
|
Set< Integer > | getErrors () |
|
List< String > | getErrorUrls () |
|
List< Ad > | getLinearAds () |
|
boolean | needsPauseContent () |
|
AdOverlayInfo | getAdOverlayInfo () |
|
URL | getClickURL () |
| Fetch the URL to ping when this AdSpot is clicked. More...
|
|
List< URL > | getTrackingURLs () |
| Fetch the list of tracking URLs to ping when this AdSpot is played. More...
|
|
int | getPriority () |
|
void | setPriority (int priority) |
| set the priority of the ad spot. More...
|
|
int | compareTo (AdSpot ad) |
| compare two ad spots based on time, which is required to properly sort ad spots. More...
|
|
A model of a VMAP Ad spot, which extends VAST Ad spot with additional VMAP attributes.