AVAudioSessionErrorCode Enum

Definition

An enumeration whose values specify various errors relating to AVAudioSessions.

public enum AVAudioSessionErrorCode
type AVAudioSessionErrorCode = 
Inheritance
AVAudioSessionErrorCode

Fields

BadParam -50

Indicates that the app tried to set a parameter to a disallowed value.

CannotInterruptOthers 560557684

Indicates that a session with nonmixable audio tried to activate while the app was in the background.

CannotStartPlaying 561015905

Indicates that audio playback was attempted when playback was not allowed.

CannotStartRecording 561145187

Indicates that audio recording was attempted and failed.

CodeResourceNotAvailable 561145203

Indicates that a required resource, such as an audio input, is not available on the device.

IncompatibleCategory 560161140

Indicates that an operation that is incompatible with the current category was attempted.

InsufficientPriority 561017449

Indicates that another app with higher priority preempted the operation.

IsBusy 560030580

Indicates that an attempt was made to inactivate a busy session.

MediaServicesFailed 1836282486

Indicates that Media Services has failed.

MissingEntitlement 1701737535

Indicates that a required entitlement was not present.

None 0

Indicates that no error occurred. Success.

SiriIsRecording 1936290409

Indicates that Siri was recording when the operation was attempted.

Unspecified 2003329396

Indicates that an unspecified error occurred.

Applies to