VerizonMediaAds
@available(*, deprecated, message: "This protocol will be removed with the next major release.")
public protocol VerizonMediaAds
The API for Verizon Media advertisements.
-
The list of ad breaks.
Declaration
Swift
var adBreaks: VerizonMediaAdBreakArray { get }
-
The currently playing ad break.
Declaration
Swift
var currentAdBreak: VerizonMediaAdBreak? { get }
-
The currently playing ads.
Remark
- They will always be in
VerizonMediaAds.currentAdBreak
. - This has the same
VerizonMediaAdArray
type asVerizonMediaAdBreak.ads
.
Declaration
Swift
var currentAds: VerizonMediaAdArray { get }
- They will always be in
-
Seeks to the end of the ad if it is currently playing and skippable.
Remark
The ad is skippable when it is currently playing and the ad break’s offset is reached.Declaration
Swift
func skip()