Class AVPlayerInterstitialEventRestrictions


  • public final class AVPlayerInterstitialEventRestrictions
    extends java.lang.Object
    [@enum] AVPlayerInterstitialEventRestrictions 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. API-Since: 15.0
    • Field Detail

      • ConstrainsSeekingForwardInPrimaryContent

        public static final long ConstrainsSeekingForwardInPrimaryContent
        API-Since: 15.0
        See Also:
        Constant Field Values
      • RequiresPlaybackAtPreferredRateForAdvancement

        public static final long RequiresPlaybackAtPreferredRateForAdvancement
        API-Since: 15.0
        See Also:
        Constant Field Values