Instance Method

mediaSelectionCriteriaForMediaCharacteristic:

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

Declaration

- (AVPlayerMediaSelectionCriteria *)mediaSelectionCriteriaForMediaCharacteristic:(AVMediaCharacteristic)mediaCharacteristic;

Parameters

mediaCharacteristic

The media characteristic for which the selection criteria is to be returned. Supported values include AVMediaCharacteristicAudible, AVMediaCharacteristicLegible, and AVMediaCharacteristicVisual.

Return Value

The AVPlayerMediaSelectionCriteria for mediaCharacteristic.

See Also

Configuring Media Selection Criteria Settings

appliesMediaSelectionCriteriaAutomatically

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

- setMediaSelectionCriteria:forMediaCharacteristic:

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