---
title: AVAudioSessionRouteChangeReasonKey
framework: avfaudio
role: symbol
role_heading: Global Variable
path: avfaudio/avaudiosessionroutechangereasonkey
---

# AVAudioSessionRouteChangeReasonKey

A user info key that’s used to retrieve the route change reason.

## Declaration

```swift
let AVAudioSessionRouteChangeReasonKey: String
```

## Discussion

Discussion The associated value is an unsigned integer, provided as an NSNumber object, that identifies the reason why the route changed. For a list of possible values, see AVAudioSession.RouteChangeReason.

## See Also

### User Info Keys

- [AVAudioSessionRouteChangePreviousRouteKey](avfaudio/avaudiosessionroutechangepreviousroutekey.md)
