AI-generated Key Takeaways
-
IMAAVPlayerVideoDisplayDelegate is a callback protocol for IMAAVPlayerVideoDisplayDelegate.
-
IMAAdPlaybackInfo groups various properties of the ad player.
-
IMAAdsLoaderDelegate is a delegate object that receives state change callbacks from IMAAdsLoader.
-
IMAAdsManagerDelegate is a callback protocol for IMAAdsManager.
-
IMALinkOpenerDelegate signals that a link has been opened/closed.
Protocols
The following protocols are available globally.
-
A callback protocol for IMAAVPlayerVideoDisplayDelegate.
Declaration
Swift
protocol IMAAVPlayerVideoDisplayDelegate : NSObjectProtocolObjective-C
@protocol IMAAVPlayerVideoDisplayDelegate <NSObject> -
Groups various properties of the ad player.
Declaration
Swift
protocol IMAAdPlaybackInfo : NSObjectProtocolObjective-C
@protocol IMAAdPlaybackInfo <NSObject>
-
Delegate object that receives state change callbacks from IMAAdsLoader.
Declaration
Swift
protocol IMAAdsLoaderDelegateObjective-C
@protocol IMAAdsLoaderDelegate
-
A callback protocol for IMAAdsManager.
Declaration
Swift
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.
Declaration
Swift
protocol IMALinkOpenerDelegate : NSObjectProtocolObjective-C
@protocol IMALinkOpenerDelegate <NSObject>
-
Delegate to receive events from the companion ad slot.
Declaration
Swift
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.
Declaration
Swift
protocol IMAContentPlayheadObjective-C
@protocol IMAContentPlayhead -
Adapter that provides secure signal(3rd party signal only) to the IMA SDK to be included in an
- auction.
Declaration
Swift
protocol IMASecureSignalsAdapter : NSObjectProtocolObjective-C
@protocol IMASecureSignalsAdapter <NSObject>
-
A callback protocol for IMAStreamManager.
Declaration
Swift
protocol IMAStreamManagerDelegateObjective-C
@protocol IMAStreamManagerDelegate -
Delegate object that receives state change callbacks from IMAVideoDisplay.
Declaration
Swift
protocol IMAVideoDisplayDelegate : NSObjectProtocolObjective-C
@protocol IMAVideoDisplayDelegate <NSObject> -
Declares a simple video display class used for ad playback.
Declaration
Swift
protocol IMAVideoDisplay : IMAAdPlaybackInfoObjective-C
@protocol IMAVideoDisplay <IMAAdPlaybackInfo>