Instance Property

timedMetadata

An array of the most recently encountered timed metadata.

Declaration

@property(nonatomic, readonly) NSArray<AVMetadataItem *> *timedMetadata;

Return Value

An array of AVMetadataItem or nil if no metadata was found.

Discussion

Prior to the player item loading its media, this property value will be nil. You can key-value observe this property to be notified when metadata becomes available.

See Also

Inspecting a Player Item

asset

The asset provided during initialization.

automaticallyLoadedAssetKeys

The array of asset keys to be automatically loaded before the player item is ready to play.

tracks

An array of player item track objects.

status

The status of the player item.

AVPlayerItemStatus

The statuses for a player item.

duration

The duration of the item.

timebase

The timebase information for the item.

loadedTimeRanges

An array of time ranges indicating media data that is readily available.

presentationSize

The size at which the visual portion of the item is presented by the player.

error

The error that caused the player item to fail.