Instance Property

advanceIntervalForDelegateInvocation

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

Declaration

var advanceIntervalForDelegateInvocation: TimeInterval { get set }

Discussion

If possible, an AVPlayerItemLegibleOutput instance messages its delegate advanceIntervalForDelegateInvocation seconds earlier than it otherwise would.

If the value provided is large, the delegate methods are invoked as soon as possible.

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 delegateQueue: DispatchQueue?

The dispatch queue on which the delegate is called.