<!--
{
  "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.

## Relationships

### Inherits From

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)