These classes provide information about ads that occur within a timeline.
| Name | Description |
|---|---|
| PTAd | Class that defines the Ad abstraction and holds all ad information. It is defined by a unique ID, a duration, and a MediaResource. The MediaResource contains the URL where the actual ad content resides. Represents a primary linear asset spliced into the content. It can optionally contain an array of companion assets that must be displayed along with the linear asset. |
| PTAdAsset | Class that represents an asset to be displayed. Represents an asset to be displayed. |
| PTAdAvailInfo | Describes an ad opportunity within the stream. |
| PTAdBannerView | Displays a banner asset. Your application must create a new instance of this utility class, set the banner asset, and add it to a view. The impression and click tracking for the banner is internally managed by this class. |
| PTAdBreak | Class that gives a unified view on several ads that will be played at some point during playback. Represents a continuous sequence of ads spliced into the content. |
| PTAdClick | Class that represents a click instance associated with an asset. This instance contains information about the click-through URL and the title that can be used to provide additional information to the user. Represents a click instance associated with an asset. This instance contains information about the click-through URL and the title that can be used to provide additional information to the user. |
| PTAdHLSAsset | Represents an HLS asset for a break. |
| PTAdHLSAssetLoaderDelegate | Protocol for a class to be a listener to PTAdHLSAsset loading callbacks. |