public interface VerizonMediaAd extends EventDispatcher<VerizonMediaAdEvent>
Modifier and Type | Method and Description |
---|---|
String |
getApiFramework()
The API framework, if any.
|
List<VerizonMediaAd> |
getCompanions()
List of all companion ads of the ad.
|
String |
getCreative()
The identifier of the creative.
|
double |
getDuration()
The duration of the ad, in seconds.
|
double |
getEndTime()
The end time of the ad, in seconds.
|
HashMap<String,List<String>> |
getEvents()
A HashMap of all VAST 3.0 tracking events for this ad.
|
List<Object> |
getExtensions()
List of VAST extensions returned by the ad server.
|
HashMap<String,String> |
getFreeWheelParameters()
A HashMap of FreeWheel-defined creative parameters.
|
double |
getHeight()
The height of the ad.
|
String |
getMimeType()
The creative's mime type.
|
double |
getStartTime()
The start time of the ad, in seconds.
|
double |
getWidth()
The width of the ad.
|
addEventListener, removeEventListener
double getStartTime()
double getEndTime()
double getDuration()
String getApiFramework()
- If the value is 'VPAID', then the ad is a VPAID ad. - Otherwise the ad is an Uplynk CMS asset.
String getCreative()
- Either a VPAID URL, if the API framework is 'VPAID'. - Otherwise an asset ID from the Uplynk CMS.
String getMimeType()
- Either 'application/javascript' if the API framework is 'VPAID'. - Otherwise 'uplynk/m3u8'.
double getWidth()
- Returns zero if the ad is not a companion-ad.
double getHeight()
- Returns zero if the ad is not a companion-ad.
HashMap<String,List<String>> getEvents()
List<VerizonMediaAd> getCompanions()
List<Object> getExtensions()