<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSession/spatialPlaybackCapabilitiesChangedNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@AVAudioSessionSpatialPlaybackCapabilitiesChangedNotification"
  },
  "title" : "spatialPlaybackCapabilitiesChangedNotification"
}
-->

# spatialPlaybackCapabilitiesChangedNotification

A notification the system posts when its spatial playback capabilities change.

```
class let spatialPlaybackCapabilitiesChangedNotification: NSNotification.Name
```

## Discussion

The system posts this notification when spatial playback capabilities change due to a change in user preference.

The `userInfo` dictionary of this notification contains the [`AVAudioSessionSpatialAudioEnabledKey`](/documentation/AVFAudio/AVAudioSessionSpatialAudioEnabledKey) key, which indicates whether spatial audio is in an enabled state.

A route change may result in a change in the ability for the system to play spatial audio, so observe [`routeChangeNotification`](/documentation/AVFAudio/AVAudioSession/routeChangeNotification) and use the [`isSpatialAudioEnabled`](/documentation/AVFAudio/AVAudioSessionPortDescription/isSpatialAudioEnabled) property to check if the current route supports spatialized playback.

## Topics

### User Info Keys

[`AVAudioSessionSpatialAudioEnabledKey`](/documentation/AVFAudio/AVAudioSessionSpatialAudioEnabledKey)

A user info key that you use to retrieve the state of spatial playback.



---

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)