Instance Property

delegate

The delegate of the output class.

Declaration

weak var delegate: AVPlayerItemLegibleOutputPushDelegate? { get }

Discussion

Because the delegate is held using a zeroing-weak reference, this property has a value of nil after a delegate that was previously set has been deallocated.

This property does not support Key-value observing.

See Also

Configuring the Delegate

func setDelegate(AVPlayerItemLegibleOutputPushDelegate?, queue: DispatchQueue?)

Sets the receiver's delegate and a dispatch queue on which the delegate is called.

protocol AVPlayerItemLegibleOutputPushDelegate

Methods you can implement to provide alternative attributed-string output.

var advanceIntervalForDelegateInvocation: TimeInterval

The time interval, in seconds, that a player item legible output object messages its delegate earlier than normal.

var delegateQueue: DispatchQueue?

The dispatch queue on which the delegate is called.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software