Type Method

metadataItemsFromArray:withLocale:

Provides an array of metadata items that match a specified locale.

Declaration

+ (NSArray<AVMetadataItem *> *)metadataItemsFromArray:(NSArray<AVMetadataItem *> *)metadataItems withLocale:(NSLocale *)locale;

Parameters

array

The array of AVMetadataItem objects to be filtered.

locale

The locale that must be matched for a metadata item to be included in the output array.

Return Value

An array containing the AVMetadataItem objects from the array parameter that match the specified locale.

See Also

Filtering Arrays of Metadata Items

+ metadataItemsFromArray:withKey:keySpace:

Provides an array of metadata items that match a specified key or key space.

AVMetadataKeySpace

A value that defines a metadata key space.

+ metadataItemsFromArray:filteredAndSortedAccordingToPreferredLanguages:

Provides the subset of metadata items whose locales match one of the specified language identifiers.

+ metadataItemsFromArray:filteredByMetadataItemFilter:

Filters an array of metadata items using the metadata item filter.

+ metadataItemsFromArray:filteredByIdentifier:

Filters an array of metadata items according to the supplied identifier.

AVMetadataIdentifier

A value that defines the metadata identifiers for different file formats.