GCKAdBreakClipInfo.h
1 // Copyright 2013 Google Inc.
2 
3 #import <Foundation/Foundation.h>
4 
5 #import <GoogleCast/GCKDefines.h>
6 #import <GoogleCast/GCKMediaRequestItem.h>
7 
8 GCK_ASSUME_NONNULL_BEGIN
9 
15 GCK_EXTERN const int kAdBreakClipNotSkippable;
16 
22 GCK_EXPORT
23 @interface GCKAdBreakClipVastAdsRequest : NSObject <NSCopying, NSSecureCoding>
24 
29 @property(nonatomic, strong, readonly) NSURL *adTagUrl;
30 
39 @property(nonatomic, strong, readonly) NSString *adsResponse;
40 
41 @end
42 
48 GCK_EXPORT
49 @interface GCKAdBreakClipInfo : NSObject <NSCopying, NSSecureCoding>
50 
52 @property(nonatomic, strong, readonly) NSString *adBreakClipID;
53 
55 @property(nonatomic, assign, readonly) NSTimeInterval duration;
56 
58 @property(nonatomic, strong, readonly, GCK_NULLABLE) NSString *title;
59 
61 @property(nonatomic, strong, readonly, GCK_NULLABLE) NSURL *clickThroughURL;
62 
64 @property(nonatomic, strong, readonly, GCK_NULLABLE) NSURL *contentURL;
65 
67 @property(nonatomic, strong, readonly, GCK_NULLABLE) NSString *mimeType;
68 
73 @property(nonatomic, strong, readonly, GCK_NULLABLE) NSString *contentID;
74 
79 @property(nonatomic, strong, readonly, GCK_NULLABLE) NSURL *posterURL;
80 
85 @property(nonatomic, assign, readonly) NSTimeInterval whenSkippable;
86 
91 @property(nonatomic, assign, readonly) GCKHLSSegmentFormat hlsSegmentFormat;
92 
99 @property(nonatomic, strong, readonly, GCK_NULLABLE) GCKAdBreakClipVastAdsRequest *vastAdsRequest;
100 
102 @property(nonatomic, strong, readonly, GCK_NULLABLE) id customData;
103 
104 @end
105 
106 GCK_ASSUME_NONNULL_END
A class representing a VAST request for an ad break clip.
Definition: GCKAdBreakClipInfo.h:23
NSURL * adTagUrl
A URL for the VAST file.
Definition: GCKAdBreakClipInfo.h:29
A class representing an ad break clip.
Definition: GCKAdBreakClipInfo.h:49
NSString * adsResponse
A String specifying a VAST document to be used as the ads response instead of making a request via an...
Definition: GCKAdBreakClipInfo.h:39