Instance Property

availableMediaCharacteristicsWithMediaSelectionOptions

An array of media characteristics for which a media selection option is available.

Declaration

var availableMediaCharacteristicsWithMediaSelectionOptions: [AVMediaCharacteristic] { get }

Discussion

The value of this property is an array of strings, each indicating a media characteristic for which a media selection option is available.

See Also

Finding Media Selections

var preferredMediaSelection: AVMediaSelection

The default media selections for this asset’s media selection groups.

func mediaSelectionGroup(forMediaCharacteristic: AVMediaCharacteristic) -> AVMediaSelectionGroup?

Returns a media selection group object that contains one or more options with the specified media characteristic.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software