Enumeration

AVAssetExportSession.Status

A set of statuses used for relaying the state of an export session.

Declaration

enum Status : Int

Topics

Export Session Statuses

case unknown

The session status is unknown.

case waiting

The session is waiting to export more data.

case exporting

The export session is in progress.

case completed

The export session completed successfully.

case failed

The export session failed.

case cancelled

The export session was cancelled.

See Also

Exporting Media

func exportAsynchronously(completionHandler: () -> Void)

Starts the asynchronous execution of an export session.

func cancelExport()

Cancels the execution of an export session.

var error: Error?

Describes the error that occurred.

var estimatedOutputFileLength: Int64

The estimated size, in bytes, of the exported file.

var maxDuration: CMTime

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