PTAdPolicyInfo Class Reference
| Inherits from | NSObject |
| Declared in | PTAdPolicySelector.h |
Tasks
Property
-
adBreaksAn array of PTAdBreak instances. If the user hits an ad break during normal playback, the array consists of a single ad break If the user seeks over one or more ad breaks, this array contains all the ad breaks that are skipped (includes watched ad breaks)
property -
adA PTAd instance that is relevant for this policy.
property -
currentTimeThe current time of the video playback (includes dynamically spliced ads)
property -
seekToTimeThe requested seek time (includes dynamically spliced ads)
property -
rateThe current playback rate of the video
property -
modeThe policy mode in which the ad behavior is requsted
property
Properties
ad
A PTAd instance that is relevant for this policy.
@property (nonatomic, readonly) PTAd *adDiscussion
A PTAd instance that is relevant for this policy.
Declared In
PTAdPolicySelector.hadBreaks
An array of PTAdBreak instances. If the user hits an ad break during normal playback, the array consists of a single ad break If the user seeks over one or more ad breaks, this array contains all the ad breaks that are skipped (includes watched ad breaks)
@property (nonatomic, readonly) NSArray *adBreaksDiscussion
An array of PTAdBreak instances. If the user hits an ad break during normal playback, the array consists of a single ad break If the user seeks over one or more ad breaks, this array contains all the ad breaks that are skipped (includes watched ad breaks)
Declared In
PTAdPolicySelector.hcurrentTime
The current time of the video playback (includes dynamically spliced ads)
@property (nonatomic, readonly) CMTime currentTimeDiscussion
The current time of the video playback (includes dynamically spliced ads)
Declared In
PTAdPolicySelector.hmode
The policy mode in which the ad behavior is requsted
@property (nonatomic, readonly) PTAdPolicyMode modeDiscussion
The policy mode in which the ad behavior is requsted
Declared In
PTAdPolicySelector.h