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

  •   externalAdRanges

    An array of CMTimeRange type values for c3 window ads.

    property
  •   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
  •   signalingMode

    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

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 enableDVRAds

Discussion

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.h

externalAdRanges

An array of CMTimeRange type values for c3 window ads.

@property (nonatomic, strong) NSArray *externalAdRanges

Discussion

An array of CMTimeRange type values for c3 window ads.

Declared In

PTAdMetadata.h

signalingMode

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 signalingMode

Discussion

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