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

# HIDDeviceClient.HIDElementUpdateResult

A class to hold the results of an element update.

```
struct HIDElementUpdateResult
```

## Overview

This class is received as the return value from [`updateElements(_:timeout:)`](/documentation/CoreHID/HIDDeviceClient/updateElements(_:timeout:)). The results of the transactions can be received by subscripting the results object with [`HIDDeviceClient.ProvideElementUpdate`](/documentation/CoreHID/HIDDeviceClient/ProvideElementUpdate) and [`HIDDeviceClient.RequestElementUpdate`](/documentation/CoreHID/HIDDeviceClient/RequestElementUpdate) originally passed to [`updateElements(_:timeout:)`](/documentation/CoreHID/HIDDeviceClient/updateElements(_:timeout:)).

For an example, see [`updateElements(_:timeout:)`](/documentation/CoreHID/HIDDeviceClient/updateElements(_:timeout:)).

## Topics

### Subscripts

[`subscript(HIDDeviceClient.ProvideElementUpdate) -> Result<Void, any Error>?`](/documentation/CoreHID/HIDDeviceClient/HIDElementUpdateResult/subscript(_:)-56db0)

Receive the result of a element update.

[`subscript(HIDDeviceClient.RequestElementUpdate) -> Result<[HIDElement.Value], any Error>?`](/documentation/CoreHID/HIDDeviceClient/HIDElementUpdateResult/subscript(_:)-7mvq2)

Receive the result of a request element update.

## Relationships

### Conforms To

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

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