Inherits from NSObject
Declared in PTAdBreak.h

Overview

The PTAdBreak instance represents a continous sequence of ads spliced into the content

Tasks

Properties

  •   relativeRange

    Returns a CMTimeRange describing the start time of the break relative to the content and the duration of the break.

    property
  •   range

    Returns a CMTimeRange describing the absolute start time of the break (content with ads spliced) and the duration of the break.

    property
  •   ads

    Returns 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 *ads

Discussion

Returns an array of ads to be played within this break

Declared In

PTAdBreak.h

range

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 range

Discussion

Returns a CMTimeRange describing the absolute start time of the break (content with ads spliced) and the duration of the break.

Declared In

PTAdBreak.h

relativeRange

Returns a CMTimeRange describing the start time of the break relative to the content and the duration of the break.

@property (nonatomic, assign) CMTimeRange relativeRange

Discussion

Returns a CMTimeRange describing the start time of the break relative to the content and the duration of the break.

Declared In

PTAdBreak.h

Instance 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 *)ptAd

Discussion

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