---
title: AVAudioRecorderDelegate
framework: avfaudio
role: symbol
role_heading: Protocol
path: avfaudio/avaudiorecorderdelegate
---

# AVAudioRecorderDelegate

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

## Declaration

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

## Topics

### Responding to Recording Completion

- [audioRecorderDidFinishRecording(_:successfully:)](avfaudio/avaudiorecorderdelegate/audiorecorderdidfinishrecording(_:successfully:).md)

### Responding to Audio Encoding Errors

- [audioRecorderEncodeErrorDidOccur(_:error:)](avfaudio/avaudiorecorderdelegate/audiorecorderencodeerrordidoccur(_:error:).md)

### Responding to Audio Interruptions

- [audioRecorderBeginInterruption(_:)](avfaudio/avaudiorecorderdelegate/audiorecorderbegininterruption(_:).md)
- [audioRecorderEndInterruption(_:)](avfaudio/avaudiorecorderdelegate/audiorecorderendinterruption(_:).md)
- [audioRecorderEndInterruption(_:withOptions:)](avfaudio/avaudiorecorderdelegate/audiorecorderendinterruption(_:withoptions:).md)
- [audioRecorderEndInterruption(_:withFlags:)](avfaudio/avaudiorecorderdelegate/audiorecorderendinterruption(_:withflags:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Responding to recorder events

- [delegate](avfaudio/avaudiorecorder/delegate.md)
