AI-generated Key Takeaways
- 
          IMAAdPodInfo is a simple data object containing podding metadata. 
- 
          It provides information about the total number of ads in a pod, the position of an ad within a pod, and whether an ad is a bumper. 
- 
          The podIndex indicates the index of the ad pod, with different values for client-side, DAI live stream, and DAI VOD. 
- 
          The timeOffset property indicates the position of the pod in the content in seconds. 
- 
          The maxDuration property provides the maximum duration of the pod in seconds. 
IMAAdPodInfo
@interface IMAAdPodInfo : NSObjectSimple data object containing podding metadata.
- 
                  
                  Total number of ads in the pod this ad belongs to. Will be 1 for standalone ads. DeclarationSwift var totalAds: Int { get }Objective-C @property (nonatomic, readonly) NSInteger totalAds;
- 
                  
                  The position of this ad within an ad pod. Will be 1 for standalone ads. DeclarationSwift var adPosition: Int { get }Objective-C @property (nonatomic, readonly) NSInteger adPosition;
- 
                  
                  Specifies whether the ad is a bumper. Bumpers are short videos used to open and close ad breaks. DeclarationSwift var isBumper: Bool { get }Objective-C @property (nonatomic, readonly) BOOL isBumper;
- 
                  
                  Client side: Returns the index of the ad pod. For a preroll pod, returns 0. For midrolls, returns 1, 2,…, N. For a postroll pod, returns -1. Defaults to 0 if this ad is not part of a pod, or this pod is not part of a playlist. DAI live stream: Returns the index of the ad pod. For a preroll pod, returns - For midrolls, returns the break ID. Returns -2 if pod index cannot be determined (internal error). DAI VOD: Returns the index of the ad pod. For a preroll pod, returns 0. For midrolls, returns 1, 2,…,N. For a postroll pod, returns N+1…N+X. Defaults to 0 if this ad is not part of a pod, or this pod is not part of a playlist.
 DeclarationSwift var podIndex: Int { get }Objective-C @property (nonatomic, readonly) NSInteger podIndex;
- 
                  
                  The position of the pod in the content in seconds. Pre-roll returns 0, post-roll returns -1 and mid-rolls return the scheduled time of the pod. DeclarationSwift var timeOffset: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval timeOffset;
- 
                  
                  The maximum duration of the pod in seconds. For unknown duration, -1 is returned. DeclarationSwift var maxDuration: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval maxDuration;