public final class AVPlayerInterstitialEventRestrictions
extends java.lang.Object
These constants can be specified when creating AVPlayerInterstitialEvents in order to configure their behavior.
[@constant] AVPlayerInterstitialEventRestrictionNone Indicates that the user may freely employ playback controls, as available, both within the primary content and in the interstitial content specified for the event. [@constant] AVPlayerInterstitialEventRestrictionConstrainsSeekingForwardInPrimaryContent Indicates that seeking within the primary content from a date prior to the date of the event to a date subsequent to the date of the event is not permitted. [@constant] AVPlayerInterstitialEventRestrictionRequiresPlaybackAtPreferredRateForAdvancement Indicates that advancing the currentTime within an interstitial item, either by seeking ahead or by setting the playback rate to a value greater than the item's asset's preferredRate, is not permitted.
| Modifier and Type | Field and Description |
|---|---|
static long |
ConstrainsSeekingForwardInPrimaryContent |
static long |
DefaultPolicy |
static long |
None |
static long |
RequiresPlaybackAtPreferredRateForAdvancement |
public static final long None
public static final long ConstrainsSeekingForwardInPrimaryContent
public static final long RequiresPlaybackAtPreferredRateForAdvancement
public static final long DefaultPolicy