One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVError

struct · SDK 27.1

struct AVError

Members (96)

get

errorDomain

TypeScript
static get errorDomain(): string
Swift declaration
static var errorDomain: String { get }

The domain of the error.

get

outOfMemory

TypeScript
static get outOfMemory(): AVError_Code
Swift declaration
static var outOfMemory: AVError.Code { get }
get · iOS 8.0+

persistentTrackID

TypeScript
get persistentTrackID(): (number) | null
Swift declaration
var persistentTrackID: CMPersistentTrackID? { get }

The persistent track ID.

get · iOS 8.0+

presentationTimeStamp

TypeScript
get presentationTimeStamp(): (_CoreMedia_CMTime) | null
Swift declaration
var presentationTimeStamp: CMTime? { get }

The presentation time stamp.

get

device

TypeScript
get device(): (string) | null
Swift declaration
var device: String? { get }
get

device

TypeScript
get device43143(): (AVCaptureDevice) | null
Swift declaration
var device: AVCaptureDevice? { get }
get · iOS 8.0+

fileType

TypeScript
get fileType(): (AVFileType) | null
Swift declaration
var fileType: AVFileType? { get }

The file type.

get

mediaType

TypeScript
get mediaType(): (string) | null
Swift declaration
var mediaType: String? { get }

The media type.

get

mediaType

TypeScript
get mediaType72037(): (AVMediaType) | null
Swift declaration
var mediaType: AVMediaType? { get }

The media type.

get

decodeFailed

TypeScript
static get decodeFailed(): AVError_Code
Swift declaration
static var decodeFailed: AVError.Code { get }
get · iOS 16.0+

encodeFailed

TypeScript
static get encodeFailed(): AVError_Code
Swift declaration
static var encodeFailed: AVError.Code { get }
get

exportFailed

TypeScript
static get exportFailed(): AVError_Code
Swift declaration
static var exportFailed: AVError.Code { get }
get

mediaChanged

TypeScript
static get mediaChanged(): AVError_Code
Swift declaration
static var mediaChanged: AVError.Code { get }
get · iOS 8.0+

failedToParse

TypeScript
static get failedToParse(): AVError_Code
Swift declaration
static var failedToParse: AVError.Code { get }
get

noImageAtTime

TypeScript
static get noImageAtTime(): AVError_Code
Swift declaration
static var noImageAtTime: AVError.Code { get }
get · iOS 11.2+

noSourceTrack

TypeScript
static get noSourceTrack(): AVError_Code
Swift declaration
static var noSourceTrack: AVError.Code { get }
get · iOS 11.0+

malformedDepth

TypeScript
static get malformedDepth(): AVError_Code
Swift declaration
static var malformedDepth: AVError.Code { get }
get

noDataCaptured

TypeScript
static get noDataCaptured(): AVError_Code
Swift declaration
static var noDataCaptured: AVError.Code { get }
get

decoderNotFound

TypeScript
static get decoderNotFound(): AVError_Code
Swift declaration
static var decoderNotFound: AVError.Code { get }
get

encoderNotFound

TypeScript
static get encoderNotFound(): AVError_Code
Swift declaration
static var encoderNotFound: AVError.Code { get }
get · iOS 11.0+

noLongerPlayable

TypeScript
static get noLongerPlayable(): AVError_Code
Swift declaration
static var noLongerPlayable: AVError.Code { get }
get · iOS 11.0+

contentNotUpdated

TypeScript
static get contentNotUpdated(): AVError_Code
Swift declaration
static var contentNotUpdated: AVError.Code { get }
get

fileAlreadyExists

TypeScript
static get fileAlreadyExists(): AVError_Code
Swift declaration
static var fileAlreadyExists: AVError.Code { get }
get

fileFailedToParse

TypeScript
static get fileFailedToParse(): AVError_Code
Swift declaration
static var fileFailedToParse: AVError.Code { get }
get · iOS 11.0+

formatUnsupported

TypeScript
static get formatUnsupported(): AVError_Code
Swift declaration
static var formatUnsupported: AVError.Code { get }
get

incompatibleAsset

TypeScript
static get incompatibleAsset(): AVError_Code
Swift declaration
static var incompatibleAsset: AVError.Code { get }
get

sessionNotRunning

TypeScript
static get sessionNotRunning(): AVError_Code
Swift declaration
static var sessionNotRunning: AVError.Code { get }
get · iOS 18.0+

toneMappingFailed

TypeScript
static get toneMappingFailed(): AVError_Code
Swift declaration
static var toneMappingFailed: AVError.Code { get }
get

contentIsProtected

TypeScript
static get contentIsProtected(): AVError_Code
Swift declaration
static var contentIsProtected: AVError.Code { get }
get

deviceNotConnected

TypeScript
static get deviceNotConnected(): AVError_Code
Swift declaration
static var deviceNotConnected: AVError.Code { get }
get

displayWasDisabled

TypeScript
static get displayWasDisabled(): AVError_Code
Swift declaration
static var displayWasDisabled: AVError.Code { get }
get

invalidSourceMedia

TypeScript
static get invalidSourceMedia(): AVError_Code
Swift declaration
static var invalidSourceMedia: AVError.Code { get }
get

mediaDiscontinuity

TypeScript
static get mediaDiscontinuity(): AVError_Code
Swift declaration
static var mediaDiscontinuity: AVError.Code { get }
get · iOS 15.0+

operationCancelled

TypeScript
static get operationCancelled(): AVError_Code
Swift declaration
static var operationCancelled: AVError.Code { get }
get · iOS 16.0+

invalidSampleCursor

TypeScript
static get invalidSampleCursor(): AVError_Code
Swift declaration
static var invalidSampleCursor: AVError.Code { get }
get · iOS 10.0+

operationNotAllowed

TypeScript
static get operationNotAllowed(): AVError_Code
Swift declaration
static var operationNotAllowed: AVError.Code { get }
get · iOS 14.0+

rosettaNotInstalled

TypeScript
static get rosettaNotInstalled(): AVError_Code
Swift declaration
static var rosettaNotInstalled: AVError.Code { get }
get

screenCaptureFailed

TypeScript
static get screenCaptureFailed(): AVError_Code
Swift declaration
static var screenCaptureFailed: AVError.Code { get }
get · iOS 11.0+

contentIsUnavailable

TypeScript
static get contentIsUnavailable(): AVError_Code
Swift declaration
static var contentIsUnavailable: AVError.Code { get }
get

operationInterrupted

TypeScript
static get operationInterrupted(): AVError_Code
Swift declaration
static var operationInterrupted: AVError.Code { get }
get · iOS 8.0+

undecodableMediaData

TypeScript
static get undecodableMediaData(): AVError_Code
Swift declaration
static var undecodableMediaData: AVError.Code { get }
get

deviceWasDisconnected

TypeScript
static get deviceWasDisconnected(): AVError_Code
Swift declaration
static var deviceWasDisconnected: AVError.Code { get }
get

failedToLoadMediaData

TypeScript
static get failedToLoadMediaData(): AVError_Code
Swift declaration
static var failedToLoadMediaData: AVError.Code { get }
get · iOS 14.0+

incorrectlyConfigured

TypeScript
static get incorrectlyConfigured(): AVError_Code
Swift declaration
static var incorrectlyConfigured: AVError.Code { get }
get

sessionWasInterrupted

TypeScript
static get sessionWasInterrupted(): AVError_Code
Swift declaration
static var sessionWasInterrupted: AVError.Code { get }
get

torchLevelUnavailable

TypeScript
static get torchLevelUnavailable(): AVError_Code
Swift declaration
static var torchLevelUnavailable: AVError.Code { get }
get · iOS 9.0+

videoCompositorFailed

TypeScript
static get videoCompositorFailed(): AVError_Code
Swift declaration
static var videoCompositorFailed: AVError.Code { get }
get

contentIsNotAuthorized

TypeScript
static get contentIsNotAuthorized(): AVError_Code
Swift declaration
static var contentIsNotAuthorized: AVError.Code { get }
get · iOS 16.0+

failedToLoadSampleData

TypeScript
static get failedToLoadSampleData(): AVError_Code
Swift declaration
static var failedToLoadSampleData: AVError.Code { get }
get

maximumDurationReached

TypeScript
static get maximumDurationReached(): AVError_Code
Swift declaration
static var maximumDurationReached: AVError.Code { get }
get

maximumFileSizeReached

TypeScript
static get maximumFileSizeReached(): AVError_Code
Swift declaration
static var maximumFileSizeReached: AVError.Code { get }
get

mediaServicesWereReset

TypeScript
static get mediaServicesWereReset(): AVError_Code
Swift declaration
static var mediaServicesWereReset: AVError.Code { get }
get · iOS 26.0+

noSmartFramingsEnabled

TypeScript
static get noSmartFramingsEnabled(): AVError_Code
Swift declaration
static var noSmartFramingsEnabled: AVError.Code { get }
get · iOS 16.0+

sandboxExtensionDenied

TypeScript
static get sandboxExtensionDenied(): AVError_Code
Swift declaration
static var sandboxExtensionDenied: AVError.Code { get }
get

fileFormatNotRecognized

TypeScript
static get fileFormatNotRecognized(): AVError_Code
Swift declaration
static var fileFormatNotRecognized: AVError.Code { get }
get

invalidVideoComposition

TypeScript
static get invalidVideoComposition(): AVError_Code
Swift declaration
static var invalidVideoComposition: AVError.Code { get }
get · iOS 27.0+

followExternalSyncFailed

TypeScript
static get followExternalSyncFailed(): AVError_Code
Swift declaration
static var followExternalSyncFailed: AVError.Code { get }
get · iOS 26.0+

autoWhiteBalanceNotLocked

TypeScript
static get autoWhiteBalanceNotLocked(): AVError_Code
Swift declaration
static var autoWhiteBalanceNotLocked: AVError.Code { get }
get · iOS 10.0+

unsupportedOutputSettings

TypeScript
static get unsupportedOutputSettings(): AVError_Code
Swift declaration
static var unsupportedOutputSettings: AVError.Code { get }
get

applicationIsNotAuthorized

TypeScript
static get applicationIsNotAuthorized(): AVError_Code
Swift declaration
static var applicationIsNotAuthorized: AVError.Code { get }
get · iOS 14.6+

contentKeyRequestCancelled

TypeScript
static get contentKeyRequestCancelled(): AVError_Code
Swift declaration
static var contentKeyRequestCancelled: AVError.Code { get }
get · iOS 9.0+

recordingAlreadyInProgress

TypeScript
static get recordingAlreadyInProgress(): AVError_Code
Swift declaration
static var recordingAlreadyInProgress: AVError.Code { get }
get · iOS 13.0+

sessionHardwareCostOverage

TypeScript
static get sessionHardwareCostOverage(): AVError_Code
Swift declaration
static var sessionHardwareCostOverage: AVError.Code { get }
get

serverIncorrectlyConfigured

TypeScript
static get serverIncorrectlyConfigured(): AVError_Code
Swift declaration
static var serverIncorrectlyConfigured: AVError.Code { get }
get

sessionConfigurationChanged

TypeScript
static get sessionConfigurationChanged(): AVError_Code
Swift declaration
static var sessionConfigurationChanged: AVError.Code { get }
get

decoderTemporarilyUnavailable

TypeScript
static get decoderTemporarilyUnavailable(): AVError_Code
Swift declaration
static var decoderTemporarilyUnavailable: AVError.Code { get }
get

encoderTemporarilyUnavailable

TypeScript
static get encoderTemporarilyUnavailable(): AVError_Code
Swift declaration
static var encoderTemporarilyUnavailable: AVError.Code { get }
get

invalidOutputURLPathExtension

TypeScript
static get invalidOutputURLPathExtension(): AVError_Code
Swift declaration
static var invalidOutputURLPathExtension: AVError.Code { get }
get

operationNotSupportedForAsset

TypeScript
static get operationNotSupportedForAsset(): AVError_Code
Swift declaration
static var operationNotSupportedForAsset: AVError.Code { get }
get · iOS 13.0+

unsupportedDeviceActiveFormat

TypeScript
static get unsupportedDeviceActiveFormat(): AVError_Code
Swift declaration
static var unsupportedDeviceActiveFormat: AVError.Code { get }
get · iOS 13.0+

operationNotSupportedForPreset

TypeScript
static get operationNotSupportedForPreset(): AVError_Code
Swift declaration
static var operationNotSupportedForPreset: AVError.Code { get }
get · iOS 8.3+

airPlayReceiverRequiresInternet

TypeScript
static get airPlayReceiverRequiresInternet(): AVError_Code
Swift declaration
static var airPlayReceiverRequiresInternet: AVError.Code { get }
get

deviceInUseByAnotherApplication

TypeScript
static get deviceInUseByAnotherApplication(): AVError_Code
Swift declaration
static var deviceInUseByAnotherApplication: AVError.Code { get }
get · iOS 14.0+

segmentStartedWithNonSyncSample

TypeScript
static get segmentStartedWithNonSyncSample(): AVError_Code
Swift declaration
static var segmentStartedWithNonSyncSample: AVError.Code { get }
get · iOS 4.3+ · Deprecated in iOS 9.0

deviceIsNotAvailableInBackground

TypeScript
static get deviceIsNotAvailableInBackground(): AVError_Code
Swift declaration
static var deviceIsNotAvailableInBackground: AVError.Code { get }
get · iOS 26.0+

followExternalSyncDeviceTimedOut

TypeScript
static get followExternalSyncDeviceTimedOut(): AVError_Code
Swift declaration
static var followExternalSyncDeviceTimedOut: AVError.Code { get }
get · iOS 8.3+

airPlayControllerRequiresInternet

TypeScript
static get airPlayControllerRequiresInternet(): AVError_Code
Swift declaration
static var airPlayControllerRequiresInternet: AVError.Code { get }
get

deviceAlreadyUsedByAnotherSession

TypeScript
static get deviceAlreadyUsedByAnotherSession(): AVError_Code
Swift declaration
static var deviceAlreadyUsedByAnotherSession: AVError.Code { get }
get

referenceForbiddenByReferencePolicy

TypeScript
static get referenceForbiddenByReferencePolicy(): AVError_Code
Swift declaration
static var referenceForbiddenByReferencePolicy: AVError.Code { get }
get · iOS 12.0+

externalPlaybackNotSupportedForAsset

TypeScript
static get externalPlaybackNotSupportedForAsset(): AVError_Code
Swift declaration
static var externalPlaybackNotSupportedForAsset: AVError.Code { get }
get · iOS 16.0+

airPlayReceiverTemporarilyUnavailable

TypeScript
static get airPlayReceiverTemporarilyUnavailable(): AVError_Code
Swift declaration
static var airPlayReceiverTemporarilyUnavailable: AVError.Code { get }
get

applicationIsNotAuthorizedToUseDevice

TypeScript
static get applicationIsNotAuthorizedToUseDevice(): AVError_Code
Swift declaration
static var applicationIsNotAuthorizedToUseDevice: AVError.Code { get }
get

compositionTrackSegmentsNotContiguous

TypeScript
static get compositionTrackSegmentsNotContiguous(): AVError_Code
Swift declaration
static var compositionTrackSegmentsNotContiguous: AVError.Code { get }
get · iOS 8.0+

fileTypeDoesNotSupportSampleReferences

TypeScript
static get fileTypeDoesNotSupportSampleReferences(): AVError_Code
Swift declaration
static var fileTypeDoesNotSupportSampleReferences: AVError.Code { get }
get

invalidCompositionTrackSegmentDuration

TypeScript
static get invalidCompositionTrackSegmentDuration(): AVError_Code
Swift declaration
static var invalidCompositionTrackSegmentDuration: AVError.Code { get }
get

maximumStillImageCaptureRequestsExceeded

TypeScript
static get maximumStillImageCaptureRequestsExceeded(): AVError_Code
Swift declaration
static var maximumStillImageCaptureRequestsExceeded: AVError.Code { get }
get · iOS 11.0+

noCompatibleAlternatesForExternalDisplay

TypeScript
static get noCompatibleAlternatesForExternalDisplay(): AVError_Code
Swift declaration
static var noCompatibleAlternatesForExternalDisplay: AVError.Code { get }
get

maximumNumberOfSamplesForFileFormatReached

TypeScript
static get maximumNumberOfSamplesForFileFormatReached(): AVError_Code
Swift declaration
static var maximumNumberOfSamplesForFileFormatReached: AVError.Code { get }
get

deviceLockedForConfigurationByAnotherProcess

TypeScript
static get deviceLockedForConfigurationByAnotherProcess(): AVError_Code
Swift declaration
static var deviceLockedForConfigurationByAnotherProcess: AVError.Code { get }
get

invalidCompositionTrackSegmentSourceDuration

TypeScript
static get invalidCompositionTrackSegmentSourceDuration(): AVError_Code
Swift declaration
static var invalidCompositionTrackSegmentSourceDuration: AVError.Code { get }
get · iOS 27.0+

externalSyncDeviceFrequencyLowerThanSpecified

TypeScript
static get externalSyncDeviceFrequencyLowerThanSpecified(): AVError_Code
Swift declaration
static var externalSyncDeviceFrequencyLowerThanSpecified: AVError.Code { get }
get

invalidCompositionTrackSegmentSourceStartTime

TypeScript
static get invalidCompositionTrackSegmentSourceStartTime(): AVError_Code
Swift declaration
static var invalidCompositionTrackSegmentSourceStartTime: AVError.Code { get }
get · iOS 27.0+

notEnoughSpaceForProVideoStorageReplenishment

TypeScript
static get notEnoughSpaceForProVideoStorageReplenishment(): AVError_Code
Swift declaration
static var notEnoughSpaceForProVideoStorageReplenishment: AVError.Code { get }
get · iOS 27.0+

externalSyncDeviceFrequencyHigherThanSpecified

TypeScript
static get externalSyncDeviceFrequencyHigherThanSpecified(): AVError_Code
Swift declaration
static var externalSyncDeviceFrequencyHigherThanSpecified: AVError.Code { get }
get

unknown

TypeScript
static get unknown(): AVError_Code
Swift declaration
static var unknown: AVError.Code { get }
get

diskFull

TypeScript
static get diskFull(): AVError_Code
Swift declaration
static var diskFull: AVError.Code { get }

Skipped declarations

No declarations were skipped in this snapshot.

All AVFoundation types →