PTAdBreak Class Reference
| Inherits from | NSObject |
| Declared in | PTAdBreak.h |
Tasks
Properties
-
relativeRangeReturns a CMTimeRange describing the start time of the break relative to the original content and the duration of the ad break.
property -
rangeReturns a CMTimeRange describing the absolute start time of the break (content with ads spliced) and the duration of the break.
property -
adsReturns an array of ads to be played within this break
property -
isWatchedReturns a boolean indicating whether this break has been watched or not. An ad break is marked as watched by default when any ad within the ad break begins to play.
property -
dataReturns the data of the break.
property -
typeSpecifies the type of the ad break (pre, mid or post).
property -
– addAd:Adds a PTAd instance to the list of ads contained within the break.
Properties
ads
Returns an array of ads to be played within this break
@property (nonatomic, readonly) NSMutableArray *adsDiscussion
Returns an array of ads to be played within this break
Declared In
PTAdBreak.hdata
Returns the data of the break.
@property (retain, nonatomic) NSDictionary *dataDiscussion
Returns the data of the break.
Declared In
PTAdBreak.hisWatched
Returns a boolean indicating whether this break has been watched or not. An ad break is marked as watched by default when any ad within the ad break begins to play.
@property (nonatomic, readonly) BOOL isWatchedDiscussion
Returns a boolean indicating whether this break has been watched or not. An ad break is marked as watched by default when any ad within the ad break begins to play.
Declared In
PTAdBreak.hrange
Returns a CMTimeRange describing the absolute start time of the break (content with ads spliced) and the duration of the break.
@property (nonatomic, assign) CMTimeRange rangeDiscussion
Returns a CMTimeRange describing the absolute start time of the break (content with ads spliced) and the duration of the break.
Declared In
PTAdBreak.hrelativeRange
Returns a CMTimeRange describing the start time of the break relative to the original content and the duration of the ad break.
@property (nonatomic, assign) CMTimeRange relativeRangeDiscussion
Returns a CMTimeRange describing the start time of the break relative to the original content and the duration of the ad break.
Declared In
PTAdBreak.h