JWAdvertisingConfig
@objc
public class JWAdvertisingConfig : NSObject
Encompasses all configuration options for ad plugins.
-
The XML of the VMAP to load.
Note
Used for JW.Declaration
Swift
public internal(set) var vmapXML: String? { get } -
When
true, an inlinevmapXMLis preprocessed before being handed to the headless player so that any VMAP-level<vmap:Extensions>of supported types (currentlyskippable) are lifted into each ad’s inline VAST<InLine>/<Wrapper>. This makes the existing VAST extension handlers (e.g.skippableregistered from the headless player wrapper) apply to every ad in the schedule when the VMAP only declares those extensions once at the VMAP root.Note
Defaults tofalseso existing behaviour is preserved for customers who do not need this lift. Only affects inlinevmapXML; remotevmapURLis not modified.Note
Used for JW.Declaration
Swift
public internal(set) var liftsVMAPLevelExtensions: Bool { get } -
The number of seconds to delay the ability to skip the ad.
Note
Used for JW.Declaration
Swift
public internal(set) var skipOffset: TimeInterval? { get }