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
MediaPlayerState
protocol.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,
automaticallySecureConnectionForAdURL
will make sure that any such direct selection URL will useHTTPS
protocol to avoid any additional whitelisting. If disabled,automaticallySecureConnectionForAdURL
will 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)