-
- All Implemented Interfaces:
public interface VerizonMediaResponseVodAd
The Verizon Media Response Vod ad API.
-
-
Method Summary
Modifier and Type Method Description abstract double
getDuration()
The duration of the ad, in seconds. abstract String
getApiFramework()
The textual representation of the API framework. abstract String
getCreative()
The identifier of the creative. abstract String
getMimeType()
The textual representation of the creative's mime type. abstract double
getWidth()
The width of the ad, in pixels. abstract double
getHeight()
The height of the ad, in pixels. abstract Array<VerizonMediaResponseVodAd>
getCompanions()
The List of companions ads. abstract Array<HashMap<String, Object>>
getExtensions()
The HashMap of VAST extensions returned by the ad server. abstract HashMap<String, String>
getFw_parameters()
The HashMap of FreeWheel-defined creative parameters. abstract HashMap<String, Array<String>>
getEvents()
The HashMap of all VAST 3.0 tracking events for the ad. -
-
Method Detail
-
getDuration
abstract double getDuration()
The duration of the ad, in seconds.
-
getApiFramework
@Nullable() abstract String getApiFramework()
The textual representation of the API framework. (Nullable)
- If the value is 'VPAID', then the ad is a VPAID ad.
- Otherwise the ad is an Uplynk CMS asset.
-
getCreative
@NonNull() abstract String getCreative()
The identifier of the creative. (NonNull)
- Either a VPAID URL, if the API framework is 'VPAID'.
- Otherwise an asset ID from the Uplynk CMS.
-
getMimeType
@NonNull() abstract String getMimeType()
The textual representation of the creative's mime type. (NonNull)
- Either 'application/javascript' if the API framework is 'VPAID'.
- Otherwise 'uplynk/m3u8'.
-
getWidth
abstract double getWidth()
The width of the ad, in pixels.
- Returns zero if the ad is not a companion-ad.
-
getHeight
abstract double getHeight()
The height of the ad, in pixels.
- Returns zero if the ad is not a companion-ad.
-
getCompanions
@NonNull() abstract Array<VerizonMediaResponseVodAd> getCompanions()
The List of companions ads.
-
getExtensions
@Nullable() abstract Array<HashMap<String, Object>> getExtensions()
The HashMap of VAST extensions returned by the ad server. Each entry contains the parameter name together with a custom extension.
-
getFw_parameters
@Nullable() abstract HashMap<String, String> getFw_parameters()
The HashMap of FreeWheel-defined creative parameters. Each entry contains the parameter name together with the associated value.
-
-
-
-