<!--
{
  "availability" : [
    "iOS: 10.3.0 - 14.5.0",
    "iPadOS: 10.3.0 - 14.5.0",
    "macCatalyst: 13.1.0 - 14.5.0",
    "macOS: -",
    "tvOS: 10.3.0 - 14.5.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.2.0 - 7.3.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSessionInterruptionWasSuspendedKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@AVAudioSessionInterruptionWasSuspendedKey"
  },
  "title" : "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.

```
let AVAudioSessionInterruptionWasSuspendedKey: String
```

## Discussion

This <doc://com.apple.documentation/documentation/Foundation/NSNotification/userInfo> key is present only in [`AVAudioSession.InterruptionType.began`](/documentation/AVFAudio/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 <doc://com.apple.documentation/documentation/Foundation/NSNumber>, where a <doc://com.apple.documentation/documentation/Swift/true> value indicates that the interruption is due to the system suspending the app, rather than being interrupted by another audio session.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)