<!--
{
  "documentType" : "article",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/avassetexportsession-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review unsupported symbols and their replacements.

## Topics

### Accessing export presets

[`class func exportPresets(compatibleWith: AVAsset) -> [String]`](/documentation/AVFoundation/AVAssetExportSession/exportPresets(compatibleWith:))

Returns compatible export presets for the asset.

### Configuring output

[`var outputURL: URL?`](/documentation/AVFoundation/AVAssetExportSession/outputURL)

A URL where an asset export session writes its output.

[`var outputFileType: AVFileType?`](/documentation/AVFoundation/AVAssetExportSession/outputFileType)

The file type of the output an asset export session writes.

### Exporting media

[`func exportAsynchronously(completionHandler: () -> Void)`](/documentation/AVFoundation/AVAssetExportSession/exportAsynchronously(completionHandler:))

Starts the asynchronous execution of an export session.

[`func cancelExport()`](/documentation/AVFoundation/AVAssetExportSession/cancelExport())

Cancels the execution of an export session.

### Monitoring export progress

[`var status: AVAssetExportSession.Status`](/documentation/AVFoundation/AVAssetExportSession/status-swift.property)

The status of the export session.

[`var progress: Float`](/documentation/AVFoundation/AVAssetExportSession/progress)

A value that indicates the progress of the export.

[`var error: (any Error)?`](/documentation/AVFoundation/AVAssetExportSession/error)

An optional error object.

### Estimating file length and duration

[`var estimatedOutputFileLength: Int64`](/documentation/AVFoundation/AVAssetExportSession/estimatedOutputFileLength)

The estimated length of the exported file, in bytes.

### Estimating duration

[`var maxDuration: CMTime`](/documentation/AVFoundation/AVAssetExportSession/maxDuration)

Provides an estimate of the maximum duration of the exported media.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)