![]() |
SCTVOSSDK 23.0.0
Smartclip Advertisement Framework for tvOS
|
#import <SCAdInfo.h>
Instance Methods | |
(id) | - initWithDescription: |
(NSDictionary *) | - adInfoDescription |
Properties | |
NSString * | adId |
id of the ad | |
NSString * | title |
title of the ad | |
NSString * | variant |
variant string | |
BOOL | skippable |
NSInteger | duration |
duration of the current commercial | |
NSInteger | currentTime |
current time regarding the the current commercials duration | |
NSArray * | wrapperTags |
an array of wrapper tags | |
NSInteger | errorCode |
if an error occurs, the error code, describing the error type | |
SCUniversalAdId * | universalAdId |
universal ad id | |
This class holds the advertisement information
- (NSDictionary *) adInfoDescription |
Get the original JSON formatted description as NSDictionary
- (id) initWithDescription: | (NSString *) | description |
Initalizer, takes a JSON formatted description string
|
readwritenonatomicassign |
The default value for this property is false. When the ad reaches a point where it can be skipped, the ad unit updates this property to true and sends the ON_AD_SKIPPABLE_STATE_CHANGE event. The video player can check this property at any time, but should always check it when the ON_AD_SKIPPABLE_STATE_CHANGE event is received.