<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AccessoryAccess",
  "identifier" : "/documentation/AccessoryAccess/AAUSBAccessory/Event",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Accessory Access",
      "AccessoryAccess"
    ],
    "preciseIdentifier" : "s:So14AAUSBAccessoryC15AccessoryAccessE5EventO"
  },
  "title" : "AAUSBAccessory.Event"
}
-->

# AAUSBAccessory.Event

Events that represent accessory connection and disconnection.

```
enum Event
```

## Topics

### Responding to USB accessory events

[`case didConnect(AAUSBAccessory)`](/documentation/AccessoryAccess/AAUSBAccessory/Event/didConnect(_:))

The event the framework sends when a USB accessory connects to the system.

[`case didDisconnect(AAUSBAccessory)`](/documentation/AccessoryAccess/AAUSBAccessory/Event/didDisconnect(_:))

The method the framework calls when a USB accessory disconnects from the system.

## Relationships

### Conforms To

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

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

---

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)