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

# audioRecorderEndInterruption(_:withOptions:)

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

## Declaration

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

## Parameters

- `recorder`: The interrupted audio recorder.
- `flags`: The options 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(_:withFlags:)](avfaudio/avaudiorecorderdelegate/audiorecorderendinterruption(_:withflags:).md)
