---
title: AVCaptureSession.Preset
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avcapturesession/preset
---

# AVCaptureSession.Preset

Presets that define standard configurations for a capture session.

## Declaration

```swift
struct Preset
```

## Discussion

Discussion Setting a sessionPreset value provides a convenient way to configure a capture session for common use cases.

## Topics

### Quality levels

- [high](avfoundation/avcapturesession/preset/high.md)
- [medium](avfoundation/avcapturesession/preset/medium.md)
- [low](avfoundation/avcapturesession/preset/low.md)

### Photo

- [photo](avfoundation/avcapturesession/preset/photo.md)

### Manual configuration

- [inputPriority](avfoundation/avcapturesession/preset/inputpriority.md)

### High definition

- [qHD960x540](avfoundation/avcapturesession/preset/qhd960x540.md)
- [hd1280x720](avfoundation/avcapturesession/preset/hd1280x720.md)
- [hd1920x1080](avfoundation/avcapturesession/preset/hd1920x1080.md)
- [hd4K3840x2160](avfoundation/avcapturesession/preset/hd4k3840x2160.md)

### VGA

- [qvga320x240](avfoundation/avcapturesession/preset/qvga320x240.md)
- [vga640x480](avfoundation/avcapturesession/preset/vga640x480.md)

### iFrame

- [iFrame960x540](avfoundation/avcapturesession/preset/iframe960x540.md)
- [iFrame1280x720](avfoundation/avcapturesession/preset/iframe1280x720.md)

### CIF

- [cif352x288](avfoundation/avcapturesession/preset/cif352x288.md)

### Initializers

- [init(rawValue:)](avfoundation/avcapturesession/preset/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Setting a session preset

- [canSetSessionPreset(_:)](avfoundation/avcapturesession/cansetsessionpreset(_:).md)
- [sessionPreset](avfoundation/avcapturesession/sessionpreset.md)
