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

# HIDDeviceClient.RequestElementUpdate

A request to pull the current value from a list of HID elements

```
struct RequestElementUpdate
```

## Overview

Provide this structure to [`updateElements(_:timeout:)`](/documentation/CoreHID/HIDDeviceClient/updateElements(_:timeout:)) to request the current values for a list of elements. In most cases, this triggers a get report request to the device for all of the reports containing elements in the provided element list.

## Topics

### Initializers

[`init(elements: [HIDElement], pollDevice: Bool)`](/documentation/CoreHID/HIDDeviceClient/RequestElementUpdate/init(elements:pollDevice:))

Creates a request element update.

### Instance Properties

[`var elements: [HIDElement]`](/documentation/CoreHID/HIDDeviceClient/RequestElementUpdate/elements)

The elements used to request updates.

[`var pollDevice: Bool`](/documentation/CoreHID/HIDDeviceClient/RequestElementUpdate/pollDevice)

Whether the device should be polled for new updates.

## Relationships

### Conforms To

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

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

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

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

[`HIDElementUpdate`](/documentation/CoreHID/HIDElementUpdate)

---

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)