OOVASTIcon.h
1 #import <Foundation/Foundation.h>
2 #import "OOTBXML.h"
3 
4 typedef NS_ENUM(NSInteger, ResourceType) {
5  Static,
6  IFrame,
7  HTML
8 };
9 
10 
15 @interface OOVASTIcon : NSObject
16 
17 @property (readonly, strong, nonatomic) NSString *program;
18 @property (readonly, nonatomic) NSInteger width;
19 @property (readonly, nonatomic) NSInteger height;
20 @property (readonly, nonatomic) NSInteger xPosition;
21 @property (readonly, nonatomic) NSInteger yPosition;
22 @property (readonly, nonatomic) Float64 duration;
23 @property (readonly, nonatomic) Float64 offset;
24 @property (readonly, strong, nonatomic) NSString *resourceUrl;
25 @property (readonly, strong, nonatomic) NSString *creativeType;
26 @property (readonly, nonatomic, assign) ResourceType type;
27 @property (readonly, strong, nonatomic) NSString *apiFramework;
28 @property (readonly, strong, nonatomic) NSString *clickThrough;
29 
30 @property (readonly, strong, nonatomic) NSMutableArray *clickTrackings;
31 @property (readonly, strong, nonatomic) NSMutableArray *viewTrackings;
32 
33 - (id)initWithXML:(OOTBXMLElement *)xml;
34 
35 
36 @end
NSString * program
Definition: OOVASTIcon.h:17
NSMutableArray * clickTrackings
Definition: OOVASTIcon.h:30
Represents a VASTIcon that needs to be displayed on during a VAST ad.
Definition: OOVASTIcon.h:15
NSInteger yPosition
Definition: OOVASTIcon.h:21
Definition: OOTBXML.h:54
NSMutableArray * viewTrackings
Definition: OOVASTIcon.h:31
NSString * apiFramework
Definition: OOVASTIcon.h:27
NSInteger height
Definition: OOVASTIcon.h:19
ResourceType type
Definition: OOVASTIcon.h:26
NSString * creativeType
Definition: OOVASTIcon.h:25
Float64 offset
Definition: OOVASTIcon.h:23
NSString * resourceUrl
Definition: OOVASTIcon.h:24
NSInteger width
Definition: OOVASTIcon.h:18
NSString * clickThrough
Definition: OOVASTIcon.h:28
Float64 duration
Definition: OOVASTIcon.h:22
NSInteger xPosition
Definition: OOVASTIcon.h:20