IMAStreamManagerDelegate
@protocol IMAStreamManagerDelegateA callback protocol for IMAStreamManager.
- 
                  
                  Called when there is an IMAAdEvent. DeclarationSwift func streamManager(_ streamManager: IMAStreamManager, didReceive event: IMAAdEvent)Objective-C - (void)streamManager:(nonnull IMAStreamManager *)streamManager didReceiveAdEvent:(nonnull IMAAdEvent *)event;ParametersstreamManagerthe IMAStreamManager receiving the event eventthe IMAAdEvent received 
- 
                  
                  Called when there is an IMAAdEvent. DeclarationSwift func streamManager(_ streamManager: IMAStreamManager, didReceive error: IMAAdError)Objective-C - (void)streamManager:(nonnull IMAStreamManager *)streamManager didReceiveAdError:(nonnull IMAAdError *)error;ParametersstreamManagerthe IMAStreamManager receiving the error errorthe IMAAdError received 
- 
                  
                  Called when the ad is playing to give updates about ad progress. DeclarationSwift optional func streamManager(_ streamManager: IMAStreamManager, adDidProgressToTime time: TimeInterval, adDuration: TimeInterval, adPosition: Int, totalAds: Int, adBreakDuration: TimeInterval, adPeriodDuration: TimeInterval)Objective-C - (void)streamManager:(nonnull IMAStreamManager *)streamManager adDidProgressToTime:(NSTimeInterval)time adDuration:(NSTimeInterval)adDuration adPosition:(NSInteger)adPosition totalAds:(NSInteger)totalAds adBreakDuration:(NSTimeInterval)adBreakDuration adPeriodDuration:(NSTimeInterval)adPeriodDuration;ParametersstreamManagerthe IMAStreamManager tracking ad playback timethe current ad playback time in seconds adDurationthe total duration of the current ad in seconds adPositionthe ad position of the current ad in the current ad break totalAdsthe total number of ads in the current ad break adBreakDurationthe total duration of the current ad break in seconds adPeriodDurationthe total duration of the current ad period in seconds. This includes ads duration plus slate.