<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessorySetupKit",
  "identifier" : "/documentation/AccessorySetupKit/ASAccessory",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AccessorySetupKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAccessory"
  },
  "title" : "ASAccessory"
}
-->

# ASAccessory

An accessory discovered by the accessory session.

```
class ASAccessory
```

## Topics

### Accessing identifiers

[`bluetoothIdentifier`](/documentation/AccessorySetupKit/ASAccessory/bluetoothIdentifier)

The accessory’s unique Bluetooth identifier, if any.

[`bluetoothTransportBridgingIdentifier`](/documentation/AccessorySetupKit/ASAccessory/bluetoothTransportBridgingIdentifier)

The accessory’s Bluetooth identifier, if any, for use when bridging classic transport profiles.

[`SSID`](/documentation/AccessorySetupKit/ASAccessory/ssid)

The accessory’s Wi-Fi SSID, if any.

### Presenting a display name

[`displayName`](/documentation/AccessorySetupKit/ASAccessory/displayName)

The accessory’s name, suitable for displaying to someone using your app.

### Inspecting the accessory’s descriptor

[`descriptor`](/documentation/AccessorySetupKit/ASAccessory/descriptor)

The descriptor used to discover the accessory.

### Inspecting accessory state

[`state`](/documentation/AccessorySetupKit/ASAccessory/state)

The current authorization state of the accessory.

[`AccessoryState`](/documentation/AccessorySetupKit/ASAccessory/AccessoryState)

An enumeration of possible authorization states of an accessory.

### Working with Wi-Fi Aware

[`wifiAwarePairedDeviceID`](/documentation/AccessorySetupKit/ASAccessory/wifiAwarePairedDeviceID-swift.property)

The accessory’s Wi-Fi Aware Pairing Identifier.

[`WiFiAwarePairedDeviceID`](/documentation/AccessorySetupKit/ASAccessory/WiFiAwarePairedDeviceID-swift.typealias)

The type used for an accessory’s Wi-Fi Aware Pairing Identifier.

## Relationships

### Conforms To

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

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

### Inherited By

[`ASDiscoveredAccessory`](/documentation/AccessorySetupKit/ASDiscoveredAccessory)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)