AdStreamManager
@objc(AASDKAdStreamManager)
open class AdStreamManager : NSObject, IdentifiableThe AdStreamManager supports playing a stream with either the internal player or an external player.
- 
                  
                  Identifier for the AdStreamManagerobject asidentifiable.DeclarationSwift @objc public let objectId: UUID
- 
                  
                  Optional delegate for the ad stream manager. See the AdStreamManagerDelegateinterface for more details.DeclarationSwift @objc public weak var delegate: AdStreamManagerDelegate?
- 
                  
                  AdStreamManagersettings. SeeAdStreamManagerSettingsfor possible options.DeclarationSwift @objc public var adStreamManagerSettings: AdStreamManagerSettings
- 
                  
                  Prepare a stream for playing. It will affect the internal player, which will start buffering. DeclarationSwift @objc open func prepare(with url: URL) throwsParametersurlremote stream URL to buffer 
- 
                  
                  Start playing a stream at the url.DeclarationSwift @objc open func play(with url: URL) throwsParametersurlstream address 
- 
                  
                  Stop the current stream. DeclarationSwift @objc open func stop()
- 
                  
                  Pause the current stream. DeclarationSwift @objc open func pause()
- 
                  
                  Resume the current stream. DeclarationSwift @objc open func resume()
- 
                  
                  Reimplement this in derived class. It passes the metadata identified in the stream. DeclarationSwift open func didReceive(metadata: [AVMetadataItem])Parametersmetadatametadata in the stream 
- 
                  
                  An ad break was detected in the stream. DeclarationSwift open func adBreakDetected(of duration: TimeInterval, for adId: String?)Parametersdurationduration of the adBreak adIdpossible adId for the adBreak 
- 
                  
                  Undocumented DeclarationSwift override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
