SCAdInfo
@interface SCAdInfo : NSObject
This class holds the advertisement information
-
id of the ad
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *adId; -
title of the ad
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *title; -
variant string
Declaration
Objective-C
@property (readwrite, copy, nonatomic) NSString *variant; -
a boolean value, that indicates if the ad can be skipped
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL skippable; -
duration of the current commercial
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger duration; -
current time regarding the the current commercials duration
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger currentTime; -
an array of wrapper tags
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSArray *wrapperTags; -
if an error occurs, the error code, describing the error type
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger errorCode; -
universal ad id
Declaration
Objective-C
@property (readwrite, strong, nonatomic) SCUniversalAdId *universalAdId; -
Initalizer, takes a JSON formatted description string
Declaration
Objective-C
- (id)initWithDescription:(NSString *)description; -
Get the original JSON formatted description as NSDictionary
Declaration
Objective-C
- (NSDictionary *)adInfoDescription;
SCAdInfo Class Reference