---
title: AVAudioSessionInterruptionWasSuspendedKey
framework: avfaudio
role: symbol
role_heading: Global Variable
path: avfaudio/avaudiosessioninterruptionwassuspendedkey
---

# AVAudioSessionInterruptionWasSuspendedKey

A user info key used to determine if the interruption is due to the audio session being deactivated when the system suspended the app.

## Declaration

```swift
let AVAudioSessionInterruptionWasSuspendedKey: String
```

## Discussion

Discussion This userInfo key is present only in AVAudioSession.InterruptionType.began interruption events, where the interruption is a direct result of the operating system suspending the app. Its associated value is a Boolean NSNumber, where a true value indicates that the interruption is due to the system suspending the app, rather than being interrupted by another audio session.

## See Also

### User Info Keys

- [AVAudioSessionInterruptionTypeKey](avfaudio/avaudiosessioninterruptiontypekey.md)
- [AVAudioSessionInterruptionOptionKey](avfaudio/avaudiosessioninterruptionoptionkey.md)
- [AVAudioSessionInterruptionReasonKey](avfaudio/avaudiosessioninterruptionreasonkey.md)
