The AVPlayerItemLegibleOutput class is a subclass of AVPlayerItemOutput that can vend media with a legible characteristic as an attributed string.


Creating a Player Item Legible Output Instance

init(mediaSubtypesForNativeRepresentation: [NSNumber])

Returns an initialized legible output object.

Setting and Getting Attributed String Text Styling Settings

var textStylingResolution: AVPlayerItemLegibleOutputTextStylingResolution

A string identifier indicating the degree of text styling to be applied to attributed strings vended by the object.

Configuring the Delegate

var advanceIntervalForDelegateInvocation: TimeInterval

Causes advance invocation of an assocated delegate

var delegateQueue: DispatchQueue?

The dispatch queue on which the delegate is called.

func setDelegate(AVPlayerItemLegibleOutputPushDelegate?, queue: DispatchQueue?)

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


Text Style Settings

The text styling resolution to use when creating attributed strings.


Inherits From