AVError Enum

Definition

An enumeration whose values define various audiovisual errors.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVError
type AVError = 
Inheritance
AVError
Attributes

Fields

AirPlayControllerRequiresInternet -11856

Indicates that playback failed because the controller lacked necessary internet access.

AirPlayReceiverRequiresInternet -11857

Indicates that playback failed because the receiver lacked necessary internet access.

ApplicationIsNotAuthorized -11836

The application is not authorized.

ApplicationIsNotAuthorizedToUseDevice -11852

Indicates that the application was not authorized on the device.

CompositionTrackSegmentsNotContiguous -11824

Indicates that the source media contained gaps and could not be loaded.

ContentIsNotAuthorized -11835

Indicates that the user is not authorized to play the content.

ContentIsProtected -11831

Indicates that the app is not authorized to play the content.

ContentIsUnavailable -11863
ContentNotUpdated -11866
DecodeFailed -11821

Indicates that the media data could not be decoded.

DecoderNotFound -11833

Indicates that a decoder for the media data could not be found.

DecoderTemporarilyUnavailable -11839

Indicates that the decoder for the media data was unavailable.

DeviceAlreadyUsedByAnotherSession -11804

Indicates that the device was in use by another session.

DeviceInUseByAnotherApplication -11815

Indicates that the device was in use by another application.

DeviceIsNotAvailableInBackground -11837

Indicates that the device is not available while the app is backgrounded.

DeviceLockedForConfigurationByAnotherProcess -11817

Indicates that the device is locked for an update or for other configuration.

DeviceNotConnected -11814

Indicates that the device was not connected.

DeviceWasDisconnected -11808

Indicates that the device was not connected.

DiskFull -11807

Indicates that non-volatile storage was full.

DisplayWasDisabled -11845

Indicates that the display was disabled.

EncoderNotFound -11834

Indicates that a required data encoder was missing.

EncoderTemporarilyUnavailable -11840

Indicates that a required data encoder was unavailable.

ExportFailed -11820

Indicates that data export failed.

FailedToLoadMediaData -11849

Indicates taht the media data could not be loaded due to missing required data.

FailedToParse -11829

Indicates that the data could not be parsed.

FailedToParse2 -11853

Indicates that the data could not be parsed.

FileAlreadyExists -11823

Indicates that data could not be written because the output file already exists.

FileTypeDoesNotSupportSampleReferences -11854

Indicates that the file type does not support sample references.

FormatNotRecognized -11828

Indicates that the media was in an urecognizable format and could therefore not be opened.

FormatUnsupported -11864
IncompatibleAsset -11848

Indicates that the media format is not supported by the device.

InvalidCompositionTrackSegmentDuration -11825

Indicates that the source media's play duration on the device was not valid.

InvalidCompositionTrackSegmentSourceDuration -11827

Indicates that the source media had no duration set.

InvalidCompositionTrackSegmentSourceStartTime -11826

Indicates that the source media could not be opened because a track start time was not valid.

InvalidOutputURLPathExtension -11843

Indicates that the ouptut path contained an invalid extension.

InvalidSourceMedia -11822

Indicates that the source media was not valid.

InvalidVideoComposition -11841

Indicates that a video composition operation was not valid.

MalformedDepth -11865
MaximumDurationReached -11810

Indicates that the maximum allowable recording duration was reached.

MaximumFileSizeReached -11811

Indicates that the maximum allowable output file size was reached.

MaximumNumberOfSamplesForFileFormatReached -11813

Indicates that the maximum number of samples was reached for the output file.

MaximumStillImageCaptureRequestsExceeded -11830

Indicates that the maximum number of still images was reached for the output file.

MediaChanged -11809

Indicates that the recording source media changed.

MediaDiscontinuity -11812

Indicates that the source data was interrupted.

MediaServicesWereReset -11819

Indicates that media services were reset.

NoCompatibleAlternatesForExternalDisplay -11868
NoDataCaptured -11805

Indicates that no data was sent to the recording session.

NoImageAtTime -11832

Indicates that playback failed because no image was present at a specified time.

NoLongerPlayable -11867
NoSourceTrack -11869
OperationInterrupted -11847

Indicates that an operation was interrupted.

OperationNotAllowed -11862

Indicates that a disallowed operation was attempted.

OperationNotSupportedForAsset -11838

Indicates that an operation that was not supported on a specific asset or asset type was attempted.

OutOfMemory -11801

Indicates that system memory became full.

RecordingAlreadyInProgress -11859

Indicates that an attempt was made to start a recording while another was in progress.

ReferenceForbiddenByReferencePolicy -11842

Indicates that an attempt was made to follow a reference for which authorization was lacking.

ScreenCaptureFailed -11844

Indicates that the screen could not be captured.

ServerIncorrectlyConfigured -11850

Indicates that the media server is not correctly configured.

SessionConfigurationChanged -11806

Indicates that the recording session configuration was changed.

SessionNotRunning -11803

Indicates that no data was received because the session was not running.

SessionWasInterrupted -11818

Indicates that the recording sesion was interrupted.

TorchLevelUnavailable -11846

Indicates that a torch level was unavailable, possibly due to overheating.

UndecodableMediaData -11855

Indicates that the media data was corrupted.

Unknown -11800

Indicates that an unknown error occurred.

UnsupportedOutputSettings -11861

Indicates that the output settings were not supported.

VideoCompositorFailed -11858

Indicates that a video compositor failed.

Applies to