VerizonMediaUiConfiguration
@available(*, deprecated, message: "This class will be removed with the next major release.")
@objc(THEOplayerVerizonMediaUiConfiguration)
public class VerizonMediaUiConfiguration : NSObject, Encodable
The Verizon Media UI Configuration API.
-
When enabled, it provides an up next content countdown ten seconds in advance. Defaults to true.
Declaration
Swift
@objc public private(set) var contentNotification: Bool { get }
-
When enabled, it provides an ad break skip button with countdown. In case the ad break is unskippable, it provides a banner which counts down until the content resumes. Defaults to true.
Declaration
Swift
@objc public private(set) var adNotification: Bool { get }
-
When enabled, it supplements the seek bar with asset dividers. Defaults to true.
Declaration
Swift
@objc public private(set) var assetMarkers: Bool { get }
-
When enabled, it supplements the seek bar with marked areas in which ad breaks are present. Defaults to true.
Declaration
Swift
@objc public private(set) var adBreakMarkers: Bool { get }
-
Creates the VerizonMedia UI configuration.
Declaration
Swift
@objc public init(contentNotification: Bool = true, adNotification: Bool = true, assetMarkers: Bool = true, adBreakMarkers: Bool = true)
Parameters
contentNotification
When enabled, it provides an up next content countdown ten seconds in advance. Defauls to true.
adNotification
When enabled, it provides an ad break skip button with countdown. In case the ad break is unskippable, it provides a banner which counts down until the content resumes. Defauls to true.
assetMarkers
When enabled, it supplements the seek bar with marked areas in which assets are present. Defauls to true.
adBreakMarkers
When enabled, it supplements the seek bar with marked areas in which ad breaks are present. Defauls to true.