A user info key that’s used to retrieve the route change reason.
On This Page
let AVAudioSessionRouteChangeReasonKey: String
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.
let AVAudioSessionRouteChangePreviousRouteKey: String
A user info key that’s used to retrieve the previously active audio session route.