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 content and the duration of the 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 -
– addAd:Adds a PTAd instance to the list of ads contained within the break. This method is currently only to be used internally.
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.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 content and the duration of the break.
@property (nonatomic, assign) CMTimeRange relativeRangeDiscussion
Returns a CMTimeRange describing the start time of the break relative to the content and the duration of the break.
Declared In
PTAdBreak.hInstance Methods
addAd:
Adds a PTAd instance to the list of ads contained within the break. This method is currently only to be used internally.
- (void)addAd:(PTAd *)ptAdDiscussion
Adds a PTAd instance to the list of ads contained within the break. This method is currently only to be used internally.
Declared In
PTAdBreak.h