1 #import "OOVASTAdSpot.h" 2 #import "OOVASTOffset.h" 11 @property (readonly, nonatomic) NSString *
breakType;
12 @property (readonly, nonatomic) NSString *
breakId;
17 - (instancetype)initWithOffset:(
OOVASTOffset *)timeOffset
18 duration:(NSInteger)duration
19 repeatAfter:(Float64)repeatAfter
20 breakType:(NSString *)breakType
21 breakId:(NSString *)breakId
22 sourceId:(NSString *)sourceId
23 allowMultipleAds:(BOOL)allowMultipleAds
24 followRedirects:(BOOL)followRedirects
27 - (instancetype)initWithOffset:(
OOVASTOffset *)timeOffset
28 duration:(NSInteger)duration
29 repeatAfter:(Float64)repeatAfter
30 breakType:(NSString *)breakType
31 breakId:(NSString *)breakId
32 sourceId:(NSString *)sourceId
33 allowMultipleAds:(BOOL)allowMultipleAds
34 followRedirects:(BOOL)followRedirects
35 vastUrl:(NSURL *)vastUrl;
void markAsPlayed()
mark the ad spot as played
BOOL isRepeatable()
return true if VMAP ad is repeatable, otherwise not
Represents all VAST information from a root VAST XML file.
Definition: OOVASTAdSpot.h:8
NSString * breakType
Definition: OOVASTVMAPAdSpot.h:11
NSString * breakId
Definition: OOVASTVMAPAdSpot.h:12
BOOL allowMultipleAds
Definition: OOVASTVMAPAdSpot.h:14
Defines an offset for when ad-related events should happen around VAST ads.
Definition: OOVASTOffset.h:13
Defines all information around an Ad Spot as it was defined in a VMAP XML.
Definition: OOVASTVMAPAdSpot.h:8
NSString * adSourceId
Definition: OOVASTVMAPAdSpot.h:13
BOOL followRedirects
Definition: OOVASTVMAPAdSpot.h:15
void markAsUnplayed()
mark the ad spot as unplayed
OOVASTOffset * timeOffset
Definition: OOVASTVMAPAdSpot.h:10