---
title: descriptor
framework: corehid
role: symbol
role_heading: Instance Property
path: corehid/hidvirtualdevice/properties/descriptor
---

# descriptor

The HID specification compliant report descriptor for the virtual device.

## Declaration

```swift
let descriptor: Data
```

## Mentioned in

Creating virtual devices

## Discussion

Discussion A report descriptor defines details about the device and the type of interactions that it can have, such as the type of input it can generate, and the queries it responds to. This is the raw descriptor in byte form. For more details, see Human Interface Devices (HID) Specifications and Tools.
