---
title: processReport
framework: hiddriverkit
role: symbol
role_heading: Instance Method
path: hiddriverkit/iohidinterface/processreport
---

# processReport

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

## Declaration

```occ
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

Discussion This method uses the provided report data to update the IOHIDElement objects associated with this interface. Upon receiving a new report, call this method before you call the getElements method.

## See Also

### Getting and Setting Input Reports

- [ReportAvailable](hiddriverkit/iohidinterface/reportavailable.md)
- [AddReportToPool](hiddriverkit/iohidinterface/addreporttopool.md)
- [GetReport](hiddriverkit/iohidinterface/getreport.md)
- [SetReport](hiddriverkit/iohidinterface/setreport.md)
