Instance Property

error

The error that caused looping to fail.

Declaration

var error: Error? { get }

Discussion

If the looper’s status changes to AVPlayerLooper.Status.failed, this value will be an NSError you can use to determine the reason the reason looping could not be performed. If the receiver's status is not AVPlayerLooper.Status.failed, the value of this property is nil.

See Also

Observing Looper State

var loopCount: Int

The number of times the specified player item has been played.

var status: AVPlayerLooper.Status

A status indicating the loopers ability to be used for looping playback.

enum AVPlayerLooper.Status

The statuses that indicate whether a looper can successfully perform looping playback.