AdswizzAdStreamManager
@objc(AASDKAdswizzAdStreamManager)
public class AdswizzAdStreamManager : AdStreamManager
An AdswizzAdStreamManager
enables the AdswizzSDK
to deliver streaming functionality.
-
The HTTP/HTTPS protocol the
AdswizzAdStreamManager
will use internally for retrieving the companion banner of an ad with display capabilities.Declaration
Swift
@objc public let httpProtocol: HTTPProtocol
-
The ad server that the
AdswizzAdStreamManager
will use internally for retrieving the companion banner of an ad with display capabilities.Declaration
Swift
@objc public let adServer: String
-
The companion zoneId that the
AdswizzAdStreamManager
will use internally for retrieving the companion banner of an ad with display capabilities.Declaration
Swift
@objc public let companionZone: String?
-
Prepare the stream at
url
by starting buffering the internal player.Declaration
Swift
override public func prepare(with url: URL) throws
-
Play the stream at
url
.Declaration
Swift
override public func play(with url: URL) throws
-
Play the stream at
url
with an optionaltimestamp
to activate DVR.Declaration
Swift
public func play(with url: URL, timestamp: NSNumber) throws
-
Undocumented
Declaration
Swift
public func loadDVRMetadata(completion: ((DVRMetadata?) -> ())? = nil)
-
Undocumented
Declaration
Swift
public func cancelLoadingDVRMetadata()
-
The
AdswizzAdStreamManager
did receivemetadata
.Declaration
Swift
override public func didReceive(metadata: [AVMetadataItem])
-
Builder to conveniently create an
See moreAdswizzAdStreamManager
instance.Declaration
Swift
@objc(AASDKAdswizzAdStreamManagerBuilder) public class Builder : NSObject