Instance Property


The player’s current player item.


var currentItem: AVPlayerItem? { get }

See Also

Getting Player Properties

var status: AVPlayer.Status

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

var error: Error?

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

var isOutputObscuredDueToInsufficientExternalProtection: Bool

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