---
title: ASDiscoveryDescriptor
framework: accessorysetupkit
role: symbol
role_heading: Class
path: accessorysetupkit/asdiscoverydescriptor
---

# ASDiscoveryDescriptor

Descriptive traits used to discover accessories.

## Declaration

```swift
class ASDiscoveryDescriptor
```

## Mentioned in

Discovering and configuring accessories

## Overview

Overview Use an instance of this type to identify accessories your app can set up, then set it as the descriptor property of an ASPickerDisplayItem. Some of the Bluetooth identifier properties work together to filter matching accessories, as described in the following table.  |  |  |   |  |  |   |  |  |   |  |  |   |  |  |  The descriptor also allows you to set the bluetoothRange of matched accessories; set its value to ASDiscoveryDescriptor.Range.immediate to limit discovery of Bluetooth accessories to those within the immediate proximity of the device running your app.

## Topics

### Specifying Bluetooth properties

- [bluetoothCompanyIdentifier](accessorysetupkit/asdiscoverydescriptor/bluetoothcompanyidentifier.md)
- [ASBluetoothCompanyIdentifier](accessorysetupkit/asbluetoothcompanyidentifier.md)
- [ASBluetoothCompanyIdentifier](accessorysetupkit/asbluetoothcompanyidentifier.md)
- [bluetoothManufacturerDataBlob](accessorysetupkit/asdiscoverydescriptor/bluetoothmanufacturerdatablob.md)
- [bluetoothManufacturerDataMask](accessorysetupkit/asdiscoverydescriptor/bluetoothmanufacturerdatamask.md)
- [bluetoothServiceDataBlob](accessorysetupkit/asdiscoverydescriptor/bluetoothservicedatablob.md)
- [bluetoothServiceDataMask](accessorysetupkit/asdiscoverydescriptor/bluetoothservicedatamask.md)
- [bluetoothNameSubstring](accessorysetupkit/asdiscoverydescriptor/bluetoothnamesubstring.md)
- [bluetoothNameSubstringCompareOptions](accessorysetupkit/asdiscoverydescriptor/bluetoothnamesubstringcompareoptions.md)
- [bluetoothServiceUUID](accessorysetupkit/asdiscoverydescriptor/bluetoothserviceuuid.md)
- [bluetoothRange](accessorysetupkit/asdiscoverydescriptor/bluetoothrange.md)
- [ASDiscoveryDescriptor.Range](accessorysetupkit/asdiscoverydescriptor/range.md)

### Specifying Wi-Fi properties

- [ssid](accessorysetupkit/asdiscoverydescriptor/ssid.md)
- [ssidPrefix](accessorysetupkit/asdiscoverydescriptor/ssidprefix.md)

### Specifying options

- [supportedOptions](accessorysetupkit/asdiscoverydescriptor/supportedoptions.md)
- [ASAccessory.SupportOptions](accessorysetupkit/asaccessory/supportoptions.md)

### Specifying Wi-Fi Aware properties

- [wifiAwareServiceName](accessorysetupkit/asdiscoverydescriptor/wifiawareservicename.md)
- [wifiAwareServiceRole](accessorysetupkit/asdiscoverydescriptor/wifiawareservicerole-swift.property.md)
- [ASDiscoveryDescriptor.WiFiAwareServiceRole](accessorysetupkit/asdiscoverydescriptor/wifiawareservicerole-swift.enum.md)
- [wifiAwareModelNameMatch](accessorysetupkit/asdiscoverydescriptor/wifiawaremodelnamematch.md)
- [wifiAwareVendorNameMatch](accessorysetupkit/asdiscoverydescriptor/wifiawarevendornamematch.md)
- [ASPropertyCompareString](accessorysetupkit/aspropertycomparestring.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessory discovery

- [ASAccessoryEvent](accessorysetupkit/asaccessoryevent.md)
- [ASAccessoryEventType](accessorysetupkit/asaccessoryeventtype.md)
