SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Loading...
Searching...
No Matches
SCPublicAdSlot.h
1//
2// SCPublicAdSlot.h
3// SmartclipSDKiOS
4//
5// Copyright © 2019 smartclip. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
9
10NS_ASSUME_NONNULL_BEGIN
11
12
14@interface SCPublicAdSlot : NSObject
16@property (nonatomic) NSInteger currentClip;
18@property (nonatomic) NSInteger totalClips;
20@property (nonatomic) NSInteger currentCommercial;
22@property (nonatomic) NSInteger totalCommercials;
24@property (nonatomic) NSTimeInterval totalCommercialsDuration;
26@property (nonatomic) NSTimeInterval totalCommercialsCurrentTime;
31- (id)initWithDescription:(NSString*)description;
32
36- (NSDictionary*)publicAdSlotDescription;
37@end
38
39NS_ASSUME_NONNULL_END
This class holds public progress information about the adSlot.
Definition: SCPublicAdSlot.h:15
NSInteger currentCommercial
number Index of the current ad of variant COMMERCIAL. Defaulting to -1
Definition: SCPublicAdSlot.h:20
NSTimeInterval totalCommercialsDuration
number Total duration of ads with variant COMMERCIAL within the current ad break
Definition: SCPublicAdSlot.h:24
NSInteger totalClips
number Total number of ads within the current ad break, regardless of variants.
Definition: SCPublicAdSlot.h:18
NSInteger currentClip
number Index of the current ad, regardless of its variant.
Definition: SCPublicAdSlot.h:16
NSTimeInterval totalCommercialsCurrentTime
number Current time of all ads with variant COMMERCIAL within the current ad break
Definition: SCPublicAdSlot.h:26
NSDictionary * publicAdSlotDescription()
NSInteger totalCommercials
number Total number of ads with variant COMMERCIAL within the current ad break
Definition: SCPublicAdSlot.h:22