SCTVOSSDK 23.0.0
Smartclip Advertisement Framework for tvOS
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
SCAdInfo Class Reference

#import <SCAdInfo.h>

Inheritance diagram for SCAdInfo:

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
 
SCUniversalAdIduniversalAdId
 universal ad id
 

Detailed Description

This class holds the advertisement information

Method Documentation

◆ adInfoDescription

- (NSDictionary *) adInfoDescription

Get the original JSON formatted description as NSDictionary

◆ initWithDescription:

- (id) initWithDescription: (NSString *)  description

Initalizer, takes a JSON formatted description string

  • Parameter description: adInfo as JSON formatted string

Property Documentation

◆ skippable

- (BOOL) skippable
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.


The documentation for this class was generated from the following file: