SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Loading...
Searching...
No Matches
SCAdInfo.h
1//
2// SCAdInfo.h
3// SmartclipSDKiOS
4//
5// Copyright © 2018 smartclip. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
9
10@class SCUniversalAdId;
11
13@interface SCAdInfo : NSObject
14
16@property (nonatomic, copy) NSString *adId;
17
19@property (nonatomic, copy) NSString *title;
20
22@property (nonatomic, copy) NSString *variant;
23
25@property (nonatomic) BOOL skippable;
26
28@property (nonatomic) NSInteger duration;
29
31@property (nonatomic) NSInteger currentTime;
32
34@property (nonatomic, strong) NSArray *wrapperTags;
35
37@property (nonatomic) NSInteger errorCode;
38
40@property (nonatomic, strong) SCUniversalAdId *universalAdId;
41
45- (NSDictionary*)adInfoDescription;
46@end
This class holds the advertisement information.
Definition: SCAdInfo.h:14
NSString * adId
id of the ad
Definition: SCAdInfo.h:16
BOOL skippable
a boolean value, that indicates if the ad can be skipped
Definition: SCAdInfo.h:25
NSString * title
title of the ad
Definition: SCAdInfo.h:19
NSInteger currentTime
current time regarding the the current commercials duration
Definition: SCAdInfo.h:31
NSString * variant
variant string
Definition: SCAdInfo.h:22
SCUniversalAdId * universalAdId
universal ad id
Definition: SCAdInfo.h:40
NSInteger errorCode
if an error occurs, the error code, describing the error type
Definition: SCAdInfo.h:37
NSInteger duration
duration of the current commercial
Definition: SCAdInfo.h:28
NSArray * wrapperTags
an array of wrapper tags
Definition: SCAdInfo.h:34
NSDictionary * adInfoDescription()
This class holds the information of an universal AdId.
Definition: SCUniversalAdId.h:13