---
title: "determineCompatibleFileTypes(completionHandler:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avassetexportsession/determinecompatiblefiletypes(completionhandler:)"
---

# determineCompatibleFileTypes(completionHandler:)

Determines the output file types an asset export session supports writing in its current configuration.

## Declaration

```swift
func determineCompatibleFileTypes(completionHandler handler: @escaping @Sendable ([AVFileType]) -> Void)
```

```swift
var compatibleFileTypes: [AVFileType] { get async }
```

## Parameters

- `handler`: A callback the system passes an array of doc://com.apple.avfoundation/documentation/AVFoundation/AVFileType structures when it determines the compatible file types.

## See Also

### Accessing export presets

- [presetName](avfoundation/avassetexportsession/presetname.md)
- [allExportPresets()](avfoundation/avassetexportsession/allexportpresets().md)
- [determineCompatibility(ofExportPreset:with:outputFileType:completionHandler:)](avfoundation/avassetexportsession/determinecompatibility(ofexportpreset:with:outputfiletype:completionhandler:).md)
- [exportPresets(compatibleWith:)](avfoundation/avassetexportsession/exportpresets(compatiblewith:).md)
