Instance Property

mediaType

A constant describing the media type of an AVCaptureDevice active or supported format.

Declaration

var mediaType: AVMediaType { get }

Discussion

Supported media types are listed in Media Types.

See Also

Determining Supported Media Formats

var formatDescription: CMFormatDescription

An object describing the capture format.

var isVideoHDRSupported: Bool

A Boolean value that indicates whether the format supports high dynamic range streaming.

var unsupportedCaptureOutputClasses: [AnyClass]

The list of AVCaptureOutput subclasses not allowed for capture with this format, if any.

var highResolutionStillImageDimensions: CMVideoDimensions

The highest resolution still image that can be produced by this format.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software