Instance Method

hasMediaCharacteristic:

Returns a Boolean value that indicates whether the receiver has media with the given media characteristic.

Declaration

- (BOOL)hasMediaCharacteristic:(AVMediaCharacteristic)mediaCharacteristic;

Parameters

mediaCharacteristic

The media characteristic of interest, for example, AVMediaCharacteristicVisual, AVMediaCharacteristicAudible, or AVMediaCharacteristicLegible.

Return Value

YES if the media selection option has media with mediaCharacteristic, otherwise NO.

See Also

Managing Media Types

mediaType

The media type of the media data.

mediaSubTypes

The media sub-types of the media data associated with the option.