---
title: SpeechDetector.DetectionOptions
framework: speech
role: symbol
role_heading: Structure
path: speech/speechdetector/detectionoptions
---

# SpeechDetector.DetectionOptions

Allows clients to customize an instance of a speech detector.

## Declaration

```swift
struct DetectionOptions
```

## Parameters

- `sensitivityLevel`: One of doc://com.apple.speech/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:)](speech/speechdetector/detectionoptions/init(sensitivitylevel:).md)

### Inspecting options

- [sensitivityLevel](speech/speechdetector/detectionoptions/sensitivitylevel.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating a detector

- [init()](speech/speechdetector/init().md)
- [init(detectionOptions:reportResults:)](speech/speechdetector/init(detectionoptions:reportresults:).md)
- [SpeechDetector.SensitivityLevel](speech/speechdetector/sensitivitylevel.md)
