Instance Property

appliesMediaSelectionCriteriaAutomatically

A Boolean value that indicates whether the receiver should apply the current selection criteria automatically to player items.

Declaration

var appliesMediaSelectionCriteriaAutomatically: Bool { get set }

Discussion

By default, the AVPlayer instance applies selection criteria based on system accessibility preferences. To override the default criteria for any media selection group, use setMediaSelectionCriteria(_:forMediaCharacteristic:).

See Also

Configuring Media Selection Criteria Settings

func mediaSelectionCriteria(forMediaCharacteristic: AVMediaCharacteristic) -> AVPlayerMediaSelectionCriteria?

Returns the automatic selection criteria for media items with the specified media characteristic.

func setMediaSelectionCriteria(AVPlayerMediaSelectionCriteria?, forMediaCharacteristic: AVMediaCharacteristic)

Applies automatic selection criteria for media that has the specified media characteristic.