---
title: "audioRecorderEndInterruption(_:withFlags:)"
framework: avfaudio
role: symbol
role_heading: Instance Method
path: "avfaudio/avaudiorecorderdelegate/audiorecorderendinterruption(_:withflags:)"
---

# audioRecorderEndInterruption(_:withFlags:)

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

## Declaration

```swift
optional func audioRecorderEndInterruption(_ recorder: AVAudioRecorder, withFlags flags: Int)
```

## Parameters

- `recorder`: The interrupted audio recorder.
- `flags`: The flags that indicate the state of the audio session.

## See Also

### Responding to Audio Interruptions

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