AdStreamManagerSettings
@objc(AASDKAdStreamManagerSettings)
public final class AdStreamManagerSettings : NSObject
The AdStreamManagerSettings class provides settings for the Ad Stream Manager.
-
Your application can provide a player with which to play the stream. Note that your player must conform to the
MediaPlayerStateprotocol.Declaration
Swift
@objc public weak var player: MediaPlayerState? -
The stream metadata from the Adswizz AIS (Ads Insertion Server) may contain encoded information about the ad breaks including an ad direct selection URL which the SDK fires and obtains a VAST compliant response to extract additional ad breaks related information. If enabled,
automaticallySecureConnectionForAdURLwill make sure that any such direct selection URL will useHTTPSprotocol to avoid any additional whitelisting. If disabled,automaticallySecureConnectionForAdURLwill have no effect. Defaults totrue.Declaration
Swift
@objc public var automaticallySecureConnectionForAdURL: Bool -
Adds a capability for the stream. By default, no capability options will be used.
Declaration
Swift
@objc public func addCapability(_ capability: AdStreamCapability)