AdPodcastManagerDelegate
@objc(AASDKAdPodcastManagerDelegate)
public protocol AdPodcastManagerDelegateThe AdPodcastManagerDelegate protocol defines the methods used to get information about ads and companion banners inserted during podcast playback.
- 
                  
                  Notifies when a podcast is about to start playing. DeclarationSwift func adPodcastManager(_ adPodcastManager: AdPodcastManager, willStartPlaying url: URL)ParametersadPodcastManagerowner urlurl where to play from 
- 
                  
                  Notifies when a podcast encountered an error while attempting to play. DeclarationSwift func adPodcastManager(_ adPodcastManager: AdPodcastManager, didFailPlaying url: URL, error: Error)ParametersadPodcastManagerowner errorthe error that occurred urlthe podcast URL that produced the error 
- 
                  
                  Notifies when a podcast has loaded the ads and an AdManagerhas been created to handle the ad breaks. Note that there is no need to keep a strong reference to the ad manager, however, you can set adelegateandinteractiveDelegatefor specificAdManagerevents.DeclarationSwift func adPodcastManager(_ adPodcastManager: AdPodcastManager, didReceive manager: AdManager)ParametersadPodcastManagerowner managerad manager object that will handle the ad breaks 
- 
                  
                  Notifies of changes in the podcast player status. DeclarationSwift func adPodcastManager(_ adPodcastManager: AdPodcastManager, stateChanged state: MediaPlayerStatus)ParametersadPodcastManagerowner statecurrent state of the player playing the podcast 
- 
                  
                  Notifies of changes in the podcast player playhead. DeclarationSwift func adPodcastManager(_ adPodcastManager: AdPodcastManager, playheadChanged playhead: TimeInterval, duration: TimeInterval)ParametersadPodcastManagerowner playheadcurrent playhead of the player playing the podcast durationtotal duration of the current player playing the podcast 
- 
                  
                  Called when the podcast is played with an external player and the AdswizzAdPodcastManagerdecides to pause content. When this gets called. you should pause the podcast content.DeclarationSwift func adPodcastManagerPlayerShouldPause(_ adPodcastManager: AdPodcastManager)ParametersadPodcastManagerowner 
- 
                  
                  Called when the podcast is played with an external player and the AdswizzAdPodcastManagerdecides to resume content. When this gets called, you should resume the podcast content.DeclarationSwift func adPodcastManagerPlayerShouldResume(_ adPodcastManager: AdPodcastManager)ParametersadPodcastManagerowner 
- 
                  
                  Called when the podcast is played with an external player and the AdswizzAdPodcastManagerdetects a skipped ad. When this gets called, you should seek to thetimerelative to the podcast duration as suggested by theAdswizzAdPodcastManager. When your player completes the seek operation, call the specified completion block back to the SDK.DeclarationSwift func adPodcastManagerPlayer(_ adPodcastManager: AdPodcastManager, shouldSeekTo time: TimeInterval, completion: @escaping () -> Void)ParametersadPodcastManagerowner timethe time to seek in seconds, relative to the podcast duration completionthe completion block back to the SDK once the seek operation has completed 
