AI-generated Key Takeaways
- 
          IMAAVPlayerContentPlayhead is an implementation of IMAContentPlayhead specifically for AVPlayer and its subclasses to provide content tracking. 
- 
          This class is used when your content player is an AVPlayer or its subclass. 
- 
          The playerproperty refers to the AVPlayer instance being tracked.
- 
          The -initWithAVPlayer:method is used to initialize an instance of IMAAVPlayerContentPlayhead, attaching a periodic time observer to the specified AVPlayer.
IMAAVPlayerContentPlayhead
@interface IMAAVPlayerContentPlayhead : NSObject <IMAContentPlayhead>An implementation of IMAContentPlayhead for AVPlayer. Use this class to provide content tracking if your content player of choice is an AVPlayer or its subclass.
- 
                  
                  The player to track. DeclarationSwift var player: AVPlayer { get }Objective-C @property (nonatomic, readonly) AVPlayer *_Nonnull player;
- 
                  
                  Initializes a IMAAVPlayerContentPlayhead that tracks a player. It will attach a periodic time observer to the player immediately. DeclarationSwift init(avPlayer player: AVPlayer)Objective-C - (nonnull instancetype)initWithAVPlayer:(nonnull AVPlayer *)player;Parametersplayerthe AVPlayer to track. Return Valuethe IMAAVPlayerContentPlayhead instance