SmartclipSDKiOS 3.0.0
Smartclip Advertisement Framework for iOS
Instance Methods | Properties | List of all members
SCPublicAdSlot Class Reference

This class holds public progress information about the adSlot. More...

#import <SCPublicAdSlot.h>

Inheritance diagram for SCPublicAdSlot:

Instance Methods

(id) - initWithDescription:
 
(NSDictionary *) - publicAdSlotDescription
 

Properties

NSInteger currentClip
 number Index of the current ad, regardless of its variant.
 
NSInteger totalClips
 number Total number of ads within the current ad break, regardless of variants.
 
NSInteger currentCommercial
 number Index of the current ad of variant COMMERCIAL. Defaulting to -1
 
NSInteger totalCommercials
 number Total number of ads with variant COMMERCIAL within the current ad break
 
NSTimeInterval totalCommercialsDuration
 number Total duration of ads with variant COMMERCIAL within the current ad break
 
NSTimeInterval totalCommercialsCurrentTime
 number Current time of all ads with variant COMMERCIAL within the current ad break
 

Detailed Description

This class holds public progress information about the adSlot.

Method Documentation

◆ initWithDescription:

- (id) initWithDescription: (NSString *)  description

Initalizer, takes a JSON formatted description string

  • Parameter description: adInfo as JSON formatted string

◆ publicAdSlotDescription

- (NSDictionary *) publicAdSlotDescription

Get the original JSON formatted description as NSDictionary


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