---
title: spatialPlaybackCapabilitiesChangedNotification
framework: avfaudio
role: symbol
role_heading: Type Property
path: avfaudio/avaudiosession/spatialplaybackcapabilitieschangednotification
---

# spatialPlaybackCapabilitiesChangedNotification

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

## Declaration

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

## Discussion

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 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 and use the isSpatialAudioEnabled property to check if the current route supports spatialized playback.

## Topics

### User Info Keys

- [AVAudioSessionSpatialAudioEnabledKey](avfaudio/avaudiosessionspatialaudioenabledkey.md)
