PTAdMetadata Class Reference
| Inherits from | PTMetadata : NSObject |
| Declared in | PTAdMetadata.h |
Overview
PTAdMetadata class provides properties that should be configured for resolving ads for a given media item. All the required properties must be set to configure the player for successfully resolving ads.
Tasks
Properties
-
externalAdRangesAn array of CMTimeRange type values for c3 window ads.
property -
enableDVRAdsProperty to define behavior of ads on DVR streams. If enableDVRAds is YES, the PSDK loads all the ads from the stream, even if they are before the live point. Default value of enableDVRAds is NO.
property -
signalingModeProperty to define the ad signaling mode used to insert ads. The value can be one of the options defined in the PTAdSignalingMode enumeration.
property
Properties
enableDVRAds
Property to define behavior of ads on DVR streams. If enableDVRAds is YES, the PSDK loads all the ads from the stream, even if they are before the live point. Default value of enableDVRAds is NO.
@property (nonatomic, assign) BOOL enableDVRAdsDiscussion
Property to define behavior of ads on DVR streams. If enableDVRAds is YES, the PSDK loads all the ads from the stream, even if they are before the live point. Default value of enableDVRAds is NO.
Declared In
PTAdMetadata.hexternalAdRanges
An array of CMTimeRange type values for c3 window ads.
@property (nonatomic, strong) NSArray *externalAdRangesDiscussion
An array of CMTimeRange type values for c3 window ads.
Declared In
PTAdMetadata.hsignalingMode
Property to define the ad signaling mode used to insert ads. The value can be one of the options defined in the PTAdSignalingMode enumeration.
@property (nonatomic) PTAdSignalingMode signalingModeDiscussion
Property to define the ad signaling mode used to insert ads. The value can be one of the options defined in the PTAdSignalingMode enumeration.
Declared In
PTAdMetadata.h