---
title: filterDiscoveryResults
framework: accessorysetupkit
role: symbol
role_heading: Type Property
path: accessorysetupkit/aspickerdisplaysettings/options-swift.struct/filterdiscoveryresults
---

# filterDiscoveryResults

An option to pass discovered accessories to the app for more custom filtering, before they’re displayed in the picker for selection.

## Declaration

```swift
static var filterDiscoveryResults: ASPickerDisplaySettings.Options { get }
```

## Mentioned in

Discovering and configuring accessories

## Discussion

Discussion When your picker uses this option, your ASAccessorySession receives events of type ASAccessoryEventType.accessoryDiscovered. Handle this event by examining the discovered accessory. To include it in the picker, create a new ASDiscoveredDisplayItem for it and call updatePicker(showing:completionHandler:).
