OOVASTAdSpot.h
1 #import "OOManagedAdSpot.h"
2 #import "OOTBXML.h"
3 
9 @protected
10  NSString *signature;
11  NSInteger expires;
12  NSMutableArray *ads;
13 }
14 
15 @property (readonly, nonatomic) NSString *signature;
16 @property (readonly, nonatomic) NSInteger expires;
17 @property (readonly, nonatomic) NSURL *vastURL;
18 @property (readonly, nonatomic) NSMutableArray *ads;
19 @property (readonly, nonatomic) NSMutableArray *vmapAdSpots;
20 @property (readonly, nonatomic) NSInteger contentDuration;
21 @property (readonly, nonatomic) NSMutableDictionary *errors;
24 - (instancetype)initWithOffset:(NSInteger)timeoffset
25  duration:(NSInteger)duration
26  element:(OOTBXMLElement *)e;
27 
36 - (instancetype)initWithTime:(NSNumber *)theTime
37  duration:(NSInteger)duration
38  clickURL:(NSURL *)theClickURL
39  trackingURLs:(NSArray *)theTrackingURLs
40  vastURL:(NSURL *)theVASTURL;
41 
42 
50 - (instancetype)initWithDictionary:(NSDictionary *)data
51  api:(OOPlayerAPIClient *)theAPI
52  duration:(NSInteger)duration;
53 
59 - (OOReturnState)updateWithDictionary:(NSDictionary *)data;
60 
65 - (BOOL)fetchPlaybackInfo;
66 
67 @end
NSString * signature
The signature for the vast request.
Definition: OOVASTAdSpot.h:10
Represents all VAST information from a root VAST XML file.
Definition: OOVASTAdSpot.h:8
Definition: OOTBXML.h:54
NSInteger expires
The expires for the vast request.
Definition: OOVASTAdSpot.h:11
Base class for concrete ad spot implementations.
Definition: OOManagedAdSpot.h:19
NSMutableArray * ads
The actual ads.
Definition: OOVASTAdSpot.h:12
NSMutableArray * vmapAdSpots
The vmap ad spots.
Definition: OOVASTAdSpot.h:19
NSURL * vastURL
The url for the vast request.
Definition: OOVASTAdSpot.h:17
BOOL fetchPlaybackInfo()
NSInteger contentDuration
The duration of the ad.
Definition: OOVASTAdSpot.h:20
NSMutableDictionary * errors
The errors of ads.
Definition: OOVASTAdSpot.h:21