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

# HIDDeviceClient.ProvideElementUpdate

A structure that provides values for a list of HID elements.

```
struct ProvideElementUpdate
```

## Overview

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

## Topics

### Initializers

[`init(values: [HIDElement.Value])`](/documentation/CoreHID/HIDDeviceClient/ProvideElementUpdate/init(values:))

Creates a [`HIDDeviceClient.ProvideElementUpdate`](/documentation/CoreHID/HIDDeviceClient/ProvideElementUpdate).

### Instance Properties

[`var values: [HIDElement.Value]`](/documentation/CoreHID/HIDDeviceClient/ProvideElementUpdate/values)

The values used to update the elements.

## Relationships

### Conforms To

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

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

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

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

[`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)