OOVASTResource.h
1 #import <Foundation/Foundation.h>
2 
3 typedef NS_ENUM(NSInteger, Type) {
4  TypeNone,
5  TypeStatic,
6  TypeIFrame,
7  TypeHTML
8 };
9 
14 @interface OOVASTResource : NSObject
15 
16 @property (readonly, nonatomic) Type type;
17 @property (readonly, nonatomic, strong) NSString *uri;
18 @property (readonly, nonatomic, strong) NSString *mimeType;
19 
20 - (id)initWithType:(Type)type mimeType:(NSString *)mimeType uri:(NSString *)uri;
21 - (NSString *)typeToStr:(Type)type;
22 
23 @end
NSString * mimeType
Definition: OOVASTResource.h:18
NSString * uri
Definition: OOVASTResource.h:17
A URL from which to get VAST information.
Definition: OOVASTResource.h:14
Type type
Definition: OOVASTResource.h:16