Returns an array of chapters with a given title locale and containing specified keys.
- iOS 4.3+
- macOS 10.7+
- tvOS 9.0+
The locale of the metadata items carrying chapter titles to be returned (the method supports the IETF BCP 47 specification of locales).
An array of common keys of
AVMetadatato include in the returned array.
AVMetadatais the only supported key.
Common Key Artwork
An array of
Each object in the returned array contains an
AVMetadata object representing the chapter title, and the time range property of the
AVTimed object is equal to the time range of the chapter title item.
The locale of items not carrying chapter titles need not match the specified locale parameter. You can filter the returned items based on locale using