<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioRecorderDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(pl)AVAudioRecorderDelegate"
  },
  "title" : "AVAudioRecorderDelegate"
}
-->

# AVAudioRecorderDelegate

A protocol that defines the methods to respond to audio recording events and encoding errors.

```
protocol AVAudioRecorderDelegate : NSObjectProtocol, Sendable
```

## Topics

### Responding to Recording Completion

[`audioRecorderDidFinishRecording(_:successfully:)`](/documentation/AVFAudio/AVAudioRecorderDelegate/audioRecorderDidFinishRecording(_:successfully:))

Tells the delegate when recording stops or finishes due to reaching its time limit.

### Responding to Audio Encoding Errors

[`audioRecorderEncodeErrorDidOccur(_:error:)`](/documentation/AVFAudio/AVAudioRecorderDelegate/audioRecorderEncodeErrorDidOccur(_:error:))

Tells the delegate that the audio recorder encountered an encoding error during recording.

### Responding to Audio Interruptions

[`audioRecorderBeginInterruption(_:)`](/documentation/AVFAudio/AVAudioRecorderDelegate/audioRecorderBeginInterruption(_:))

Tells the delegate that the system interrupted the audio recording.

[`audioRecorderEndInterruption(_:)`](/documentation/AVFAudio/AVAudioRecorderDelegate/audioRecorderEndInterruption(_:))

Tells the delegate that the audio session interruption ended.

[`audioRecorderEndInterruption(_:withOptions:)`](/documentation/AVFAudio/AVAudioRecorderDelegate/audioRecorderEndInterruption(_:withOptions:))

Tells the delegate that the audio session interruption ended with options.

[`audioRecorderEndInterruption(_:withFlags:)`](/documentation/AVFAudio/AVAudioRecorderDelegate/audioRecorderEndInterruption(_:withFlags:))

Tells the delegate that the audio session interruption ended with flags.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)