An object used to vend collections of metadata items carried in metadata tracks.


class AVPlayerItemMetadataOutput : AVPlayerItemOutput



Initializing a Metadata Output Object

init(identifiers: [String]?)

Creates an instance of AVPlayerItemMetadataOutput.

Configuring the Delegate

var advanceIntervalForDelegateInvocation: TimeInterval

The time interval, in seconds, the player item metadata output object messages its delegate earlier than normal.

protocol AVPlayerItemMetadataOutputPushDelegate

Methods you can implement to provide additional metadata.

var delegateQueue: DispatchQueue?

The dispatch queue on which messages are sent to the delegate.

func setDelegate(AVPlayerItemMetadataOutputPushDelegate?, queue: DispatchQueue?)

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


Inherits From

Conforms To

See Also

Media Item Transfer

class AVPlayerItemOutput

The abstract class that defines the common interface for moving samples from an asset to a player.

protocol AVPlayerItemOutputPushDelegate

Methods you can implement to respond to changes in the media data sequence.

class AVPlayerItemLegibleOutput

An object that can vend media with a legible characteristic as an attributed string.

class AVPlayerItemVideoOutput

An object that coordinates the output of content associated with a Core Video pixel buffer.

class AVPlayerItemMediaDataCollector

The abstract base for media data collectors.