AdswizzAdPodcastManager
@objc(AASDKAdswizzAdPodcastManager)
public class AdswizzAdPodcastManager : AdPodcastManager
An AdswizzAdPodcastManager allows for AdswizzSDK to deliver all the podcast functionality, including Remote Audio Data (RAD) support and measurement.
-
The HTTP/HTTPS protocol the
AdswizzAdPodcastManagerwill 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
AdswizzAdPodcastManagerwill 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
AdswizzAdPodcastManagerwill use internally for retrieving the companion banner of an ad with display capabilities.Declaration
Swift
@objc public let companionZone: String? -
Delegate for events related to the podcast download
Declaration
Swift
@objc public weak var downloadDelegate: AdPodcastManagerDownloadDelegate? -
Play a podcast from a remote or local
url.Declaration
Swift
override public func play(with url: URL) throws -
Stop the current podcast.
Declaration
Swift
override public func stop() -
Start downloading a podcast media file from
urland save it to alocationfile path on disk. Can throw an error if the podcast is already downloading atlocation.Declaration
Swift
public func startDownloadPodcast(with url: URL, to location: URL) throwsParameters
urlthe original remote URL to download from
locationthe file path URL on disk where the file will be saved once it’s fully downloaded
-
Cancel downloading a podcast media file at
locationfile path. Can throw an error if a podcast download is not in progress.Declaration
Swift
public func stopDownloadPodcast(at location: URL) throwsParameters
locationthe file path URL on disk where the file is currently downloading
-
Remove a podcast media file from file path
locationon disk. Can throw an error if the file is not found.Declaration
Swift
public func removePodcast(at location: URL) throwsParameters
locationthe file path URL on disk
-
Builder to conveniently create an
See moreAdswizzAdPodcastManagerinstance.Declaration
Swift
@objc(AASDKAdswizzAdPodcastManagerBuilder) public class Builder : NSObject