Instance Property


A Boolean value that indicates whether output is being obscured because of insufficient external protection.


var isOutputObscuredDueToInsufficientExternalProtection: Bool { get }


Items that incorporate copy protection or other forms of security might have their visual content obscured by the player object if the current device configuration does not meet the requirements for protecting the item. This property reports whether the player is currently obscuring the item. If the current item does not require external protection or if the device configuration sufficiently protects the item, the value of this property is set to false.

You can use this property to determine whether to change your app’s user interface to reflect the change in visibility. You can observe changes to the value of this property using Key-value observing.

See Also

Getting Player Properties

var status: AVPlayer.Status

A status that indicates whether the player can be used for playback.

enum AVPlayer.Status

The statuses that indicate whether a player can successfully play items.

var error: Error?

The error that caused the failure.

var currentItem: AVPlayerItem?

The player’s current player item.