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

# subscript(_:)

Receive the result of a request element update.

```
subscript(originalRequest: HIDDeviceClient.RequestElementUpdate) -> Result<[HIDElement.Value], 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 which contains a list of updated [`HIDElement.Value`](/documentation/CoreHID/HIDElement/Value) objects. 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)