AccessoryAccess lets your macOS app discover, manage, and communicate with USB accessories. You use AAUSBAccessoryManager to coordinate access to connected hardware, and define AAUSBAccessoryMatchingCriteria to identify the accessories your app cares about. Adopt the AAUSBAccessoryListener protocol to receive connection-detection callbacks as AAUSBAccessory instances become available, and handle failures through AAError.
Essentials 1
The central object that coordinates discovery of and access to connected USB accessories.
- ClAAUSBAccessoryManagermacOS 27.0+@abstract `AAUSBAccessoryManager` manages the USB accessories.
Accessories 1
The representation of an individual USB accessory available to your app.
- ClAAUSBAccessorymacOS 27.0+@abstract Class representing a USB accessory.
Matching and Discovery 2
Types that describe which accessories your app cares about and deliver connection-detection callbacks.
- ClAAUSBAccessoryMatchingCriteriamacOS 27.0+@abstract Class representing the accessory matching criteria for a USB accessory.
- PrAAUSBAccessoryListenermacOS 27.0+@abstract `AAUSBAccessoryListener` listens to the USB accessory events.
Errors 1
The error type that reports failures encountered while accessing USB accessories.
- StAAErrormacOS 27.0+A structure that describes an error encountered while discovering or communicating with USB accessories.