IMAAdPodInfo.h
1 //
2 // IMAAdPodInfo.h
3 // GoogleIMA3
4 //
5 // Copyright (c) 2013 Google Inc. All rights reserved.
6 //
7 // Represents podding metadata for a single ad.
8 
9 #import <Foundation/Foundation.h>
10 
14 @interface IMAAdPodInfo : NSObject
15 
19 @property(nonatomic, readonly) int totalAds;
20 
24 @property(nonatomic, readonly) int adPosition;
25 
30 @property(nonatomic, readonly) BOOL isBumper;
31 
36 @property(nonatomic, readonly) int podIndex;
37 
42 @property(nonatomic, readonly) NSTimeInterval timeOffset;
43 
47 @property(nonatomic, readonly) NSTimeInterval maxDuration;
48 
52 - (instancetype)init NS_UNAVAILABLE;
53 
54 @end
int totalAds
Total number of ads in the pod this ad belongs to.
Definition: IMAAdPodInfo.h:19
NSTimeInterval timeOffset
The position of the pod in the content in seconds.
Definition: IMAAdPodInfo.h:42
instancetype NS_UNAVAILABLE()
:nodoc:
int podIndex
The index of the pod, where pre-roll pod is 0, mid-roll pods are 1 .
Definition: IMAAdPodInfo.h:36
NSTimeInterval maxDuration
The maximum duration of the pod in seconds.
Definition: IMAAdPodInfo.h:47
BOOL isBumper
Specifies whether the ad is a bumper.
Definition: IMAAdPodInfo.h:30
Simple data object containing podding metadata.
Definition: IMAAdPodInfo.h:14
int adPosition
The position of this ad within an ad pod.
Definition: IMAAdPodInfo.h:24