Contents

formats

The capture formats a device supports.

Declaration

var formats: [AVCaptureDevice.Format] { get }

Discussion

A capture device format describes the details of the video, image, or audio parameters of a specific mode of capture. If you require specifying capture settings not covered by a capture session preset, you can set the activeFormat property to any of the formats in this array.

This property value is key-value observable.

See Also

Configuring capture formats