kAudioSessionProperty_OverrideCategoryEnableBluetoothInput
Allows a paired Bluetooth device to appear as an available audio input route.
Declaration
var kAudioSessionProperty_OverrideCategoryEnableBluetoothInput: Int { get }Discussion
A read/write UInt32 value. By default, the value of this property is FALSE (0).
This property can be used to modify the kAudioSessionCategory_RecordAudio or kAudioSessionCategory_PlayAndRecord categories. Attempting to set this property to TRUE will fail for all other categories.
This property affects the kAudioSessionCategory_PlayAndRecord category as follows: If the audio input to the device is coming from a Bluetooth headset, setting this property to TRUE results in audio output also going to the Bluetooth headset.
See Also
Constants
kAudioSessionProperty_PreferredHardwareSampleRatekAudioSessionProperty_PreferredHardwareIOBufferDurationkAudioSessionProperty_AudioCategorykAudioSessionProperty_AudioRouteChangekAudioSessionProperty_CurrentHardwareSampleRatekAudioSessionProperty_CurrentHardwareInputNumberChannelskAudioSessionProperty_CurrentHardwareOutputNumberChannelskAudioSessionProperty_CurrentHardwareOutputVolumekAudioSessionProperty_CurrentHardwareInputLatencykAudioSessionProperty_CurrentHardwareOutputLatencykAudioSessionProperty_CurrentHardwareIOBufferDurationkAudioSessionProperty_OtherAudioIsPlayingkAudioSessionProperty_OverrideAudioRoutekAudioSessionProperty_AudioInputAvailablekAudioSessionProperty_ServerDied