Instance Method

metadataForFormat:

Creates an array of metadata objects, one for each metadata item in the container of the specified format.

Declaration

- (NSArray<AVMetadataItem *> *)metadataForFormat:(AVMetadataFormat)format;

Parameters

format

The metadata format for which items are requested.

Return Value

An array of AVMetadataItem objects, one for each metadata item in the container of the format specified by format, or an empty array if there is no metadata for the specified format.

Discussion

You can call this method without blocking after availableMetadataFormats has been loaded.

See Also

Managing Metadata

metadata

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

commonMetadata

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

availableMetadataFormats

An array containing the metadata formats available for the track.

AVMetadataFormat

A value that defines a metadata format.