IMAAdPodInfo Class Reference

IMAAdPodInfo Class Reference

Overview

Simple data object containing podding metadata.

Inherits NSObject.

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. 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...
 

Method Documentation

- (instancetype) NS_UNAVAILABLE

:nodoc:

Property Documentation

- (int) totalAds
readnonatomicassign

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

Will be 1 for standalone ads.

- (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.

- (int) podIndex
readnonatomicassign

Returns the index of the ad pod. For a preroll pod, returns 0. For midrolls 1, 2, ..., n is returned. For a postroll pod, -1 is returned. Defaults to 0 if this ad is not part of a pod, or this pod is not part of a playlist.

- (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.

- (NSTimeInterval) maxDuration
readnonatomicassign

The maximum duration of the pod in seconds.

For unknown duration, -1 is returned.

Send feedback about...

IMA Client-Side SDK for tvOS
Need help? Visit our support page.