-
- All Implemented Interfaces:
public interface VerizonMediaAds
The Verizon Media ads API.
-
-
Method Summary
Modifier and Type Method Description abstract VerizonMediaAdBreakList
getAdBreaks()
The VerizonMediaAdBreakList containing the ad breaks. abstract VerizonMediaAdBreak
getCurrentAdBreak()
The currently playing VerizonMediaAdBreak, if any. abstract VerizonMediaAdList
getCurrentAds()
The VerizonMediaAdList containing the currently playing ads. abstract void
skip()
Seeks to the end of the ad. -
-
Method Detail
-
getAdBreaks
@NonNull() abstract VerizonMediaAdBreakList getAdBreaks()
The VerizonMediaAdBreakList containing the ad breaks.
-
getCurrentAdBreak
@Nullable() abstract VerizonMediaAdBreak getCurrentAdBreak()
The currently playing VerizonMediaAdBreak, if any.
-
getCurrentAds
@Nullable() abstract VerizonMediaAdList getCurrentAds()
The VerizonMediaAdList containing the currently playing ads.
- These will always be part of the getCurrentAdBreak.
-
skip
abstract void skip()
Seeks to the end of the ad.
- If currently an VerizonMediaAd is playing.
- If the getSkipOffset is not -1.
-
-
-
-