<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHID",
  "identifier" : "/documentation/CoreHID/HIDDeviceClient/elements",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core HID"
    ],
    "preciseIdentifier" : "s:7CoreHID15HIDDeviceClientC8elementsSayAA10HIDElementVGvp"
  },
  "title" : "elements"
}
-->

# elements

All HID elements associated with the device.

```
var elements: [HIDElement] { get }
```

## Discussion

Elements of interest can be taken from this list and passed to [`monitorNotifications(reportIDsToMonitor:elementsToMonitor:)`](/documentation/CoreHID/HIDDeviceClient/monitorNotifications(reportIDsToMonitor:elementsToMonitor:)) to receive notifications using [`HIDDeviceClient.Notification.elementUpdates(values:)`](/documentation/CoreHID/HIDDeviceClient/Notification/elementUpdates(values:)) when updates to the elements are received from the device. Elements can also be used in a [`HIDDeviceClient.RequestElementUpdate`](/documentation/CoreHID/HIDDeviceClient/RequestElementUpdate) to request the latest data as desired.

See [`HIDElement`](/documentation/CoreHID/HIDElement) for more info.

---

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)