Instance Property

mediaType

The media type of the media data.

Declaration

var mediaType: AVMediaType { get }

Discussion

The value of the property might be, for example, audio or subtitle.

See Also

Managing Media Types

var mediaSubTypes: [NSNumber]

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

func hasMediaCharacteristic(AVMediaCharacteristic) -> Bool

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