IMAAdPodInfo Class Reference

Simple data object containing podding metadata. More...

#import <IMAAdPodInfo.h>

+ Inheritance diagram for IMAAdPodInfo:

Instance Methods

(instancetype) - NS_UNAVAILABLE
 :nodoc: More...
 

Properties

int totalAds
 Total number of ads in the pod this ad belongs to. More...
 
int adPosition
 The position of this ad within an ad pod. More...
 
BOOL isBumper
 Specifies whether the ad is a bumper. More...
 
int podIndex
 The index of the pod, where pre-roll pod is 0, mid-roll pods are 1 . More...
 
NSTimeInterval timeOffset
 The position of the pod in the content in seconds. More...
 
NSTimeInterval maxDuration
 The maximum duration of the pod in seconds. More...
 

Detailed Description

Simple data object containing podding metadata.

Method Documentation

- (instancetype) NS_UNAVAILABLE

:nodoc:

Property Documentation

- (int) adPosition
readnonatomicassign

The position of this ad within an ad pod.

Will be 1 for standalone ads.

- (BOOL) isBumper
readnonatomicassign

Specifies whether the ad is a bumper.

Bumpers are short videos used to open and close ad breaks.

- (NSTimeInterval) maxDuration
readnonatomicassign

The maximum duration of the pod in seconds.

For unknown duration, -1 is returned.

- (int) podIndex
readnonatomicassign

The index of the pod, where pre-roll pod is 0, mid-roll pods are 1 .

. N and the post-roll is -1.

- (NSTimeInterval) timeOffset
readnonatomicassign

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.

- (int) totalAds
readnonatomicassign

Total number of ads in the pod this ad belongs to.

Will be 1 for standalone ads.


The documentation for this class was generated from the following file: