AVAudioSessionErrorCode Enum

Definition

An enumeration whose values specify various errors relating to AVAudioSessions.

public enum AVAudioSessionErrorCode
type AVAudioSessionErrorCode = 
Inheritance
AVAudioSessionErrorCode

Fields

Name Value Description
BadParam -50

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

None 0

Indicates that no error occurred. Success.

IsBusy 560030580

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

IncompatibleCategory 560161140

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

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.

InsufficientPriority 561017449

Indicates that another app with higher priority preempted the operation.

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.

MissingEntitlement 1701737535

Indicates that a required entitlement was not present.

MediaServicesFailed 1836282486

Indicates that Media Services has failed.

SiriIsRecording 1936290409

Indicates that Siri was recording when the operation was attempted.

Unspecified 2003329396

Indicates that an unspecified error occurred.

Applies to