<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -",
    "macCatalyst: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSession/CategoryOptions-swift.struct/farFieldInput",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVAudioSessionCategoryOptions@AVAudioSessionCategoryOptionFarFieldInput"
  },
  "title" : "farFieldInput"
}
-->

# farFieldInput

This option should be used if a session prefers to use FarFieldInput when available.
This option is only valid with categories that support input -
[`playAndRecord`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/playAndRecord), [`record`](/documentation/AVFAudio/AVAudioSession/Category-swift.struct/record), and `AVAudioSessionMultiRoute` with [`dualRoute`](/documentation/AVFAudio/AVAudioSession/Mode-swift.struct/dualRoute).

```
static var farFieldInput: AVAudioSession.CategoryOptions { get }
```

## Discussion

- This option requires `AVAudioSessionCategoryOptionAllowBluetoothHFP` to be set.
  Otherwise error will be returned.
- Support for this can be queried on input ports via the BluetoothMicrophone interface on a port,
  via its member `farFieldCapture.isSupported`.
- Active sessions can see if far-field input is enabled on a bluetooth audio device by querying
  the BluetoothMicrophone interface of the input port of the current route for: `farFieldCapture.isEnabled`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)