Returns a media selection group object that contains one or more options with the specified media characteristic.
- iOS 5.0+
- macOS 10.8+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
A media characteristic for which you wish to obtain the available media selection options.
audibleto obtain the group of available options for audio media in various languages and for various purposes, such as descriptive audio.
legibleto obtain the group of available options for subtitles in various languages and for various purposes.
visualto obtain the group of available options for video media.
AVMedia object that contains one or more options with the media characteristic specified by
nil if none could be found.
You can invoke this method without blocking when the key
available has been loaded.
You can filter the options in the returned media selection group according to playability, locale, and additional media characteristics can be accomplished using the filtering methods defined in the