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 optional timestamp 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 receive metadata.

    Declaration

    Swift

    override public func didReceive(metadata: [AVMetadataItem])
  • Builder to conveniently create an AdswizzAdStreamManager instance.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzAdStreamManagerBuilder)
    public class Builder : NSObject