Global Variable

AVAudioSessionRouteChangeReasonKey

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

Declaration

let AVAudioSessionRouteChangeReasonKey: String

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

let AVAudioSessionRouteChangePreviousRouteKey: String

A user info key that’s used to retrieve the previously active audio session route.