---
title: routeChangeNotification
framework: avfaudio
role: symbol
role_heading: Type Property
path: avfaudio/avaudiosession/routechangenotification
---

# routeChangeNotification

A notification the system posts when its audio route changes.

## Declaration

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

## Mentioned in

Responding to audio route changes

## Discussion

Discussion The userInfo dictionary of this notification contains the AVAudioSessionRouteChangeReasonKey and AVAudioSessionRouteChangePreviousRouteKey keys, which provide information about the route change. See Responding to audio route changes for more information on using this notification. The system posts this notification on a secondary thread.

## Topics

### User Info Keys

- [AVAudioSessionRouteChangeReasonKey](avfaudio/avaudiosessionroutechangereasonkey.md)
- [AVAudioSessionRouteChangePreviousRouteKey](avfaudio/avaudiosessionroutechangepreviousroutekey.md)

### User Info Values

- [AVAudioSession.RouteChangeReason](avfaudio/avaudiosession/routechangereason.md)

## See Also

### Inspecting the current route

- [currentRoute](avfaudio/avaudiosession/currentroute.md)
- [AVAudioSessionRouteDescription](avfaudio/avaudiosessionroutedescription.md)
- [AVAudioSessionPortDescription](avfaudio/avaudiosessionportdescription.md)
