<!--
{
  "availability" : [
    "driverkit: 19.0.0 -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HIDDriverKit",
  "identifier" : "/documentation/HIDDriverKit/IOHIDInterface/processReport",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HIDDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOHIDInterface@F@processReport#k#*c#i#$@E@IOHIDReportType#i#"
  },
  "title" : "processReport"
}
-->

# processReport

Parses the contents of the specified report and updates the interface’s elements.

```
virtual void processReport(uint64_t timestamp, uint8_t *report, uint32_t reportLength, IOHIDReportType type, uint32_t reportID);
```

## Parameters

`timestamp`

The timestamp of the report.

`report`

A pointer to the bytes of the report.

`reportLength`

The number of bytes in the `report` parameter.

`type`

The report type.

`reportID`

The unique ID associated with the report.

## Discussion

This method uses the provided report data to update the [`IOHIDElement`](/documentation/HIDDriverKit/IOHIDElement) objects associated with this interface. Upon receiving a new report, call this method before you call the [`getElements`](/documentation/HIDDriverKit/IOHIDInterface/getElements) method.

---

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)