Contents

spatialPlaybackCapabilitiesChangedNotification

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

Declaration

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 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