AVAudioSessionRouteChangeReasonKey
A user info key that’s used to retrieve the route change reason.
Declaration
let AVAudioSessionRouteChangeReasonKey: StringDiscussion
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.