AudioAccessoryKit configures and controls audio accessory devices, including their placement and controls, through integration with AccessorySetupKit. You represent a connected accessory with AccessoryControlDevice and read incoming measurements through AccessorySensorUpdates, surfacing failures as an AudioAccessoryError. For accessories that report orientation, AudioAccessoryHeadTracking gives you access to head-tracking data on iOS, macOS, tvOS, watchOS, and visionOS.
Accessory Devices 1
Represent and control a connected audio accessory configured through AccessorySetupKit.
- ClAccessoryControlDeviceA class that represents a connected audio accessory and provides access to its placement and controls.
Sensor Data 2
Read incoming measurements and head-tracking orientation from an audio accessory.
- StAccessorySensorUpdatesSubscribes to a stream of raw sensor data packets from a connected accessory.
- ClAudioAccessoryHeadTrackingA class that provides head-tracking orientation data from accessories that report their movement.
Errors 1
Handle failures reported while configuring or communicating with an audio accessory.
- EnAudioAccessoryErrorAn enumeration of errors that occur while configuring or communicating with an audio accessory.