AI-generated Key Takeaways
- 
          Protocols like IMAAVPlayerVideoDisplayDelegateandIMAAdsManagerDelegateprovide callback mechanisms for various ad-related events and states.
- 
          IMAAdPlaybackInfogroups properties of the ad player, whileIMAContentPlayheaddefines an interface for tracking video content progress.
- 
          Delegates such as IMAAdsLoaderDelegateandIMAVideoDisplayDelegatereceive state change callbacks from their respective loaders and displays.
- 
          IMALinkOpenerDelegatesignals when a link has been opened or closed, andIMACompanionDelegatereceives events from companion ad slots.
- 
          IMASecureSignalsAdapterprovides secure signals to the IMA SDK for auctions, andIMAStreamManagerDelegateis a callback protocol forIMAStreamManager.
Protocols
The following protocols are available globally.
- 
                  
                  A callback protocol for IMAAVPlayerVideoDisplayDelegate. DeclarationSwift protocol IMAAVPlayerVideoDisplayDelegate : NSObjectProtocolObjective-C @protocol IMAAVPlayerVideoDisplayDelegate <NSObject>
- 
                  
                  Groups various properties of the ad player. DeclarationSwift protocol IMAAdPlaybackInfo : NSObjectProtocolObjective-C @protocol IMAAdPlaybackInfo <NSObject>
- 
                  
                  Delegate object that receives state change callbacks from IMAAdsLoader. DeclarationSwift protocol IMAAdsLoaderDelegateObjective-C @protocol IMAAdsLoaderDelegate
- 
                  
                  A callback protocol for IMAAdsManager. DeclarationSwift protocol IMAAdsManagerDelegateObjective-C @protocol IMAAdsManagerDelegate
- 
                  
                  Signals that a link has been opened/closed. For an external app (Mobile Safari/App deep link), the delegate is only notified before opening. DeclarationSwift protocol IMALinkOpenerDelegate : NSObjectProtocolObjective-C @protocol IMALinkOpenerDelegate <NSObject>
- 
                  
                  Delegate to receive events from the companion ad slot. DeclarationSwift protocol IMACompanionDelegate : NSObjectProtocolObjective-C @protocol IMACompanionDelegate <NSObject>
- 
                  
                  Defines an interface for a class that tracks video content progress and exposes a key value observable property |currentTime|. The SDK provides an implementation for tracking AVPlayer-based playback in the IMAAVPlayerContentPlayhead. Publishers can supply their own implementation by implementing this interface and this way support any other video playback implementation they might have. DeclarationSwift protocol IMAContentPlayheadObjective-C @protocol IMAContentPlayhead
- 
                  
                  Adapter that provides secure signal(3rd party signal only) to the IMA SDK to be included in an - auction.
 DeclarationSwift protocol IMASecureSignalsAdapter : NSObjectProtocolObjective-C @protocol IMASecureSignalsAdapter <NSObject>
- 
                  
                  A callback protocol for IMAStreamManager. DeclarationSwift protocol IMAStreamManagerDelegateObjective-C @protocol IMAStreamManagerDelegate
- 
                  
                  Delegate object that receives state change callbacks from IMAVideoDisplay. DeclarationSwift protocol IMAVideoDisplayDelegate : NSObjectProtocolObjective-C @protocol IMAVideoDisplayDelegate <NSObject>
- 
                  
                  Declares a simple video display class used for ad playback. DeclarationSwift protocol IMAVideoDisplay : IMAAdPlaybackInfoObjective-C @protocol IMAVideoDisplay <IMAAdPlaybackInfo>