public interface VerizonMediaAdBreak extends EventDispatcher<VerizonMediaAdBreakEvent>
Modifier and Type | Method and Description |
---|---|
VerizonMediaAdList |
getAds()
The
VerizonMediaAdList of ads in this ad break. |
Double |
getDuration()
The duration of the ad break, in seconds.
|
Double |
getEndTime()
The end time of the ad break, in seconds.
|
double |
getSkipOffset()
The offset in seconds after which the ad break may be skipped, in seconds.
|
double |
getStartTime()
The start time of the ad break, in seconds.
|
addEventListener, removeEventListener
double getStartTime()
Double getEndTime()
- For channels it can return 'null' when the end time has not yet been signaled.
Double getDuration()
- For channels it can return 'null' when the duration has not yet been signaled.
VerizonMediaAdList getAds()
VerizonMediaAdList
of ads in this ad break.VerizonMediaAdList
of ads in this ad break. (Nullable)double getSkipOffset()
- If the offset is -1, the ad is unskippable. - If the offset is 0, the ad is immediately skippable. - Otherwise it must be a positive (rational) number indicating the offset.
VerizonMediaConfiguration.getDefaultSkipOffset()
}.