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 inline vmapXML is preprocessed before being handed to the headless player so that any VMAP-level <vmap:Extensions> of supported types (currently skippable) are lifted into each ad’s inline VAST <InLine>/<Wrapper>. This makes the existing VAST extension handlers (e.g. skippable registered 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 to false so existing behaviour is preserved for customers who do not need this lift. Only affects inline vmapXML; remote vmapURL is 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 }