SCTVOSSDK 23.0.0
Smartclip Advertisement Framework for tvOS
All Classes Functions Variables Typedefs Enumerations Enumerator Properties
SCAdInfo.h
1//
2// SCAdInfo.h
3// SCTVOSSDK
4//
5// Copyright © 2018 smartclip. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
9
10@class SCUniversalAdId;
11
15@interface SCAdInfo : NSObject
17@property (nonatomic, copy) NSString *adId;
18
20@property (nonatomic, copy) NSString *title;
21
23@property (nonatomic, copy) NSString *variant;
24
31@property (nonatomic) BOOL skippable;
32
34@property (nonatomic) NSInteger duration;
35
37@property (nonatomic) NSInteger currentTime;
38
40@property (nonatomic, strong) NSArray *wrapperTags;
41
43@property (nonatomic) NSInteger errorCode;
44
46@property (nonatomic, strong) SCUniversalAdId *universalAdId;
47
52- (id)initWithDescription:(NSString*)description;
53
57- (NSDictionary*)adInfoDescription;
58@end
Definition: SCAdInfo.h:16
NSString * adId
id of the ad
Definition: SCAdInfo.h:17
BOOL skippable
Definition: SCAdInfo.h:31
NSString * title
title of the ad
Definition: SCAdInfo.h:20
NSInteger currentTime
current time regarding the the current commercials duration
Definition: SCAdInfo.h:37
NSString * variant
variant string
Definition: SCAdInfo.h:23
SCUniversalAdId * universalAdId
universal ad id
Definition: SCAdInfo.h:46
NSInteger errorCode
if an error occurs, the error code, describing the error type
Definition: SCAdInfo.h:43
NSInteger duration
duration of the current commercial
Definition: SCAdInfo.h:34
NSArray * wrapperTags
an array of wrapper tags
Definition: SCAdInfo.h:40
NSDictionary * adInfoDescription()
Definition: SCUniversalAdId.h:15