PTAdPolicyInfo Class Reference
Inherits from | NSObject |
Declared in | PTAdPolicySelector.h |
Tasks
Property
-
adBreaks
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 -
ad
A PTAd instance that is relevant for this policy.
property -
currentTime
The current time of the video playback (includes dynamically spliced ads)
property -
seekToTime
The requested seek time (includes dynamically spliced ads)
property -
rate
The current playback rate of the video
property -
mode
The 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 *ad
Discussion
A PTAd instance that is relevant for this policy.
Declared In
PTAdPolicySelector.h
adBreaks
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 *adBreaks
Discussion
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.h
currentTime
The current time of the video playback (includes dynamically spliced ads)
@property (nonatomic, readonly) CMTime currentTime
Discussion
The current time of the video playback (includes dynamically spliced ads)
Declared In
PTAdPolicySelector.h
mode
The policy mode in which the ad behavior is requsted
@property (nonatomic, readonly) PTAdPolicyMode mode
Discussion
The policy mode in which the ad behavior is requsted
Declared In
PTAdPolicySelector.h