Class AVPlayerAudiovisualBackgroundPlaybackPolicy


  • public final class AVPlayerAudiovisualBackgroundPlaybackPolicy
    extends java.lang.Object
    [@typedef] AVPlayerAudiovisualBackgroundPlaybackPolicy This policy describes how AVPlayer behaves when the application transitions to UIApplicationStateBackground while playing video. [@constant] AVPlayerAudiovisualBackgroundPlaybackPolicyAutomatic Indicates that the system is free to decide. This is the default policy. [@constant] AVPlayerAudiovisualBackgroundPlaybackPolicyPauses Indicates that the player must be paused on going to background. [@constant] AVPlayerAudiovisualBackgroundPlaybackPolicyContinuesIfPossible Indicates that the player continues to play if possible in background. API-Since: 15.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Automatic
      API-Since: 15.0
      static long ContinuesIfPossible
      API-Since: 15.0
      static long Pauses
      API-Since: 15.0
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait