Instance Property


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


var preferredMediaSelection: AVMediaSelection { get }


Provides an instance of AVMediaSelection with the default selections for each of the assets media selection groups.

See Also

Finding Media Selections

var availableMediaCharacteristicsWithMediaSelectionOptions: [AVMediaCharacteristic]

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

func mediaSelectionGroup(forMediaCharacteristic: AVMediaCharacteristic) -> AVMediaSelectionGroup?

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