<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Speech",
  "identifier" : "/documentation/Speech/SpeechDetector/DetectionOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Speech"
    ],
    "preciseIdentifier" : "s:6Speech0A8DetectorC16DetectionOptionsV"
  },
  "title" : "SpeechDetector.DetectionOptions"
}
-->

# SpeechDetector.DetectionOptions

Allows clients to customize an instance of a speech detector.

```
struct DetectionOptions
```

## Parameters

`sensitivityLevel`

One of [`SpeechDetector.SensitivityLevel`](/documentation/Speech/SpeechDetector/SensitivityLevel). This value is used to determine how “aggressive” the voice activity detection (VAD) model will be.

## Topics

### Creating an options object

[`init(sensitivityLevel: SpeechDetector.SensitivityLevel)`](/documentation/Speech/SpeechDetector/DetectionOptions/init(sensitivityLevel:))

### Inspecting options

[`let sensitivityLevel: SpeechDetector.SensitivityLevel`](/documentation/Speech/SpeechDetector/DetectionOptions/sensitivityLevel)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)