OOVASTLinearAd.h
1 #import <Foundation/Foundation.h>
2 #import "OOTBXML.h"
3 #import "OOPlayableItem.h"
4 
9 @interface OOVASTLinearAd : NSObject <OOPlayableItem>
10 
11 @property(readonly, nonatomic) NSMutableArray *icons;
12 @property(readonly, nonatomic) Float64 skipoffset;
13 @property(readonly, nonatomic) Float64 duration;
14 @property(readonly, nonatomic, strong) NSMutableDictionary *trackingEvents;
15 @property(readonly, nonatomic, strong) NSString *parameters;
16 @property(readonly, nonatomic, strong) NSString *clickThroughURL;
17 @property(readonly, nonatomic, strong) NSMutableArray *clickTrackingURLs;
18 @property(readonly, nonatomic, strong) NSMutableArray *customClickURLs;
19 @property(readonly, nonatomic, strong) NSMutableArray *streams;
20 @property(readonly, nonatomic, strong) NSMutableArray *errorCodes;
27 - (id)initWithXML:(OOTBXMLElement *)xml;
28 
33 - (void)updateTrackingEvents:(NSMutableDictionary*)newTrackingEvents;
34 
39 - (void)updateClickTrackingURLs:(NSMutableArray*)newClickTrackingURLs;
40 
41 - (void)merge:(OOVASTLinearAd *)linear;
42 
43 @end
NSMutableArray * errorCodes
The error codes.
Definition: OOVASTLinearAd.h:20
NSString * clickThroughURL
The click through url.
Definition: OOVASTLinearAd.h:16
NSMutableDictionary * trackingEvents
The tracking events in an NSMutableDictionary of event name to NSMutableArray of NSString.
Definition: OOVASTLinearAd.h:14
NSMutableArray * streams
The streams in an NSMutableArray of OOStream.
Definition: OOVASTLinearAd.h:19
Float64 duration
The duration of the ad in seconds.
Definition: OOVASTLinearAd.h:13
Definition: OOTBXML.h:54
NSMutableArray * customClickURLs
The custom click urls in an NSMutableArray of NSString.
Definition: OOVASTLinearAd.h:18
NSString * parameters
The additional ad parameters.
Definition: OOVASTLinearAd.h:15
NSMutableArray * clickTrackingURLs
The click tracking urls in an NSMutableArray of NSString.
Definition: OOVASTLinearAd.h:17
Represents a single VAST linear advertisement.
Definition: OOVASTLinearAd.h:9
Float64 skipoffset
Definition: OOVASTLinearAd.h:12
NSMutableArray * icons
Definition: OOVASTLinearAd.h:11