---
title: allowBluetoothHFP
framework: avfaudio
role: symbol
role_heading: Type Property
path: avfaudio/avaudiosession/categoryoptions-swift.struct/allowbluetoothhfp
---

# allowBluetoothHFP

An option that makes Bluetooth Hands-Free Profile (HFP) devices available for audio input.

## Declaration

```swift
static var allowBluetoothHFP: AVAudioSession.CategoryOptions { get }
```

## Discussion

Discussion You can use this option only with the record and  playAndRecord categories.

## See Also

### Category options

- [allowAirPlay](avfaudio/avaudiosession/categoryoptions-swift.struct/allowairplay.md)
- [allowBluetooth](avfaudio/avaudiosession/categoryoptions-swift.struct/allowbluetooth.md)
- [allowBluetoothA2DP](avfaudio/avaudiosession/categoryoptions-swift.struct/allowbluetootha2dp.md)
- [bluetoothHighQualityRecording](avfaudio/avaudiosession/categoryoptions-swift.struct/bluetoothhighqualityrecording.md)
- [defaultToSpeaker](avfaudio/avaudiosession/categoryoptions-swift.struct/defaulttospeaker.md)
- [duckOthers](avfaudio/avaudiosession/categoryoptions-swift.struct/duckothers.md)
- [farFieldInput](avfaudio/avaudiosession/categoryoptions-swift.struct/farfieldinput.md)
- [interruptSpokenAudioAndMixWithOthers](avfaudio/avaudiosession/categoryoptions-swift.struct/interruptspokenaudioandmixwithothers.md)
- [mixWithOthers](avfaudio/avaudiosession/categoryoptions-swift.struct/mixwithothers.md)
- [overrideMutedMicrophoneInterruption](avfaudio/avaudiosession/categoryoptions-swift.struct/overridemutedmicrophoneinterruption.md)
