Instance Property


An array of metadata items for each common metadata key for which a value is available.


var commonMetadata: [AVMetadataItem] { get }


The value is an array of AVMetadataItem objects, one for each metadata key from the common key space for which the asset has an available value. You can use the various class methods provided by AVMetadataItem, such as metadataItems(from:filteredByIdentifier:) or metadataItems(from:with:) to filter the array to the specific items of interest.

See Also

Accessing Metadata

var lyrics: String?

The lyrics of the asset, in a language suitable for the current locale.

var metadata: [AVMetadataItem]

An array of metadata items for all metadata identifiers for which a value is available.

var availableMetadataFormats: [AVMetadataFormat]

An array of strings, each representing a metadata format that’s available to the asset.

func metadata(forFormat: AVMetadataFormat) -> [AVMetadataItem]

Returns an array of metadata items found in the container with the specified format.