<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHID",
  "identifier" : "/documentation/CoreHID/HIDDeviceClient/HIDElementUpdateResult/subscript(_:)-56db0",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Subscript",
  "symbol" : {
    "kind" : "Instance Subscript",
    "modules" : [
      "Core HID"
    ],
    "preciseIdentifier" : "s:7CoreHID15HIDDeviceClientC22HIDElementUpdateResultVys0G0Oyyts5Error_pGSgAC014ProvideElementF0Vcip"
  },
  "title" : "subscript(_:)"
}
-->

# subscript(_:)

Receive the result of a element update.

```
subscript(originalRequest: HIDDeviceClient.ProvideElementUpdate) -> Result<Void, any Error>? { get }
```

## Parameters

`originalRequest`

A request that was initially passed to [`updateElements(_:timeout:)`](/documentation/CoreHID/HIDDeviceClient/updateElements(_:timeout:)).

## Return Value

The result for the specified request that contain Void if successful; otherwise, an error if unsuccessful. Access the results using  <doc://com.apple.documentation/documentation/Swift/Result/get()>.

## Overview

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

---

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)