---
title: "supportedOutputSettingsKeys(for:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturemoviefileoutput/supportedoutputsettingskeys(for:)"
---

# supportedOutputSettingsKeys(for:)

Returns a list of supported keys to use in the output settings dictionary.

## Declaration

```swift
func supportedOutputSettingsKeys(for connection: AVCaptureConnection) -> [String]
```

## Parameters

- `connection`: The connection that delivers the media to encode.

## Return Value

Return Value An array of keys that can be set in the setOutputSettings(_:for:)method.

## See Also

### Managing output settings

- [outputSettings(for:)](avfoundation/avcapturemoviefileoutput/outputsettings(for:).md)
- [setOutputSettings(_:for:)](avfoundation/avcapturemoviefileoutput/setoutputsettings(_:for:).md)
- [availableVideoCodecTypes](avfoundation/avcapturemoviefileoutput/availablevideocodectypes.md)
