---
title: "audioPlayerBeginInterruption(_:)"
framework: avfaudio
role: symbol
role_heading: Instance Method
path: "avfaudio/avaudioplayerdelegate/audioplayerbegininterruption(_:)"
---

# audioPlayerBeginInterruption(_:)

Tells the delegate when the system interrupts the audio player’s playback.

## Declaration

```swift
optional func audioPlayerBeginInterruption(_ player: AVAudioPlayer)
```

## Parameters

- `player`: The interrupted audio player.

## See Also

### Responding to Audio Interruptions

- [audioPlayerEndInterruption(_:)](avfaudio/avaudioplayerdelegate/audioplayerendinterruption(_:).md)
- [audioPlayerEndInterruption(_:withOptions:)](avfaudio/avaudioplayerdelegate/audioplayerendinterruption(_:withoptions:).md)
- [audioPlayerEndInterruption(_:withFlags:)](avfaudio/avaudioplayerdelegate/audioplayerendinterruption(_:withflags:).md)
