Instance Property

isOutputObscuredDueToInsufficientExternalProtection

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

Declaration

var isOutputObscuredDueToInsufficientExternalProtection: Bool { get }

Discussion

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

Player Properties

var status: AVPlayerStatus

Indicates whether the player can be used for playback.

var error: Error?

If the receiver’s status is failed, this describes the error that caused the failure.

var currentItem: AVPlayerItem?

The player’s current player item.