public final class AVPlayerAudiovisualBackgroundPlaybackPolicy
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static long |
Automatic |
static long |
ContinuesIfPossible |
static long |
Pauses |
public static final long Automatic
public static final long Pauses
public static final long ContinuesIfPossible