---
title: formats
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/formats
---

# formats

The capture formats a device supports.

## Declaration

```swift
var formats: [AVCaptureDevice.Format] { get }
```

## Discussion

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

- [activeFormat](avfoundation/avcapturedevice/activeformat.md)
- [activeDepthDataFormat](avfoundation/avcapturedevice/activedepthdataformat.md)
- [AVCaptureDevice.Format](avfoundation/avcapturedevice/format.md)
