kAudioSessionProperty_AudioRouteChange
The reason the audio route changed.
Declaration
var kAudioSessionProperty_AudioRouteChange: Int { get }Discussion
A CFDictionary object containing the reason the audio route changed along with details on the previous and current audio route.
Discussion
The dictionary contains the keys and corresponding values described in Audio Route Change Dictionary Keys.
The kAudioSessionProperty_AudioRouteChange dictionary is available to your app only by way of the AudioSessionPropertyListener callback function.
See Also
Constants
kAudioSessionProperty_PreferredHardwareSampleRatekAudioSessionProperty_PreferredHardwareIOBufferDurationkAudioSessionProperty_AudioCategorykAudioSessionProperty_CurrentHardwareSampleRatekAudioSessionProperty_CurrentHardwareInputNumberChannelskAudioSessionProperty_CurrentHardwareOutputNumberChannelskAudioSessionProperty_CurrentHardwareOutputVolumekAudioSessionProperty_CurrentHardwareInputLatencykAudioSessionProperty_CurrentHardwareOutputLatencykAudioSessionProperty_CurrentHardwareIOBufferDurationkAudioSessionProperty_OtherAudioIsPlayingkAudioSessionProperty_OverrideAudioRoutekAudioSessionProperty_AudioInputAvailablekAudioSessionProperty_ServerDiedkAudioSessionProperty_OtherMixableAudioShouldDuck