SCTVOSSDK 23.0.0
Smartclip Advertisement Framework for tvOS
Loading...
Searching...
No Matches
SCPublicAdSlot.h
1//
2// SCPublicAdSlot.h
3// SCTVOSSDK
4//
5// Copyright © 2019 smartclip. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
9
10NS_ASSUME_NONNULL_BEGIN
11
15@interface SCPublicAdSlot : NSObject
17@property (nonatomic) NSInteger currentClip;
19@property (nonatomic) NSInteger totalClips;
21@property (nonatomic) NSInteger currentCommercial;
23@property (nonatomic) NSInteger totalCommercials;
25@property (nonatomic) NSTimeInterval totalCommercialsDuration;
27@property (nonatomic) NSTimeInterval totalCommercialsCurrentTime;
32- (id)initWithDescription:(NSString*)description;
33
37- (NSDictionary*)publicAdSlotDescription;
38@end
39
40NS_ASSUME_NONNULL_END
Definition: SCPublicAdSlot.h:16
NSInteger currentCommercial
number Index of the current ad of variant COMMERCIAL. Defaulting to -1
Definition: SCPublicAdSlot.h:21
NSTimeInterval totalCommercialsDuration
number Total duration of ads with variant COMMERCIAL within the current ad break
Definition: SCPublicAdSlot.h:25
NSInteger totalClips
number Total number of ads within the current ad break, regardless of variants.
Definition: SCPublicAdSlot.h:19
NSInteger currentClip
number Index of the current ad, regardless of its variant.
Definition: SCPublicAdSlot.h:17
NSTimeInterval totalCommercialsCurrentTime
number Current time of all ads with variant COMMERCIAL within the current ad break
Definition: SCPublicAdSlot.h:27
NSDictionary * publicAdSlotDescription()
NSInteger totalCommercials
number Total number of ads with variant COMMERCIAL within the current ad break
Definition: SCPublicAdSlot.h:23