FwupdPlugin.HidrawDevice.parse_descriptor

### Method

# FwupdPlugin HidrawDeviceparse_descriptor

since: 2.0.12

#### Declaration [src]

    FuHidDescriptor*
    fu_hidraw_device_parse_descriptor (
      FuHidrawDevice* self
      GError** error
    )

#### Description [src]

Retrieves and parses the HID descriptor.

Available since: 2.0.12

#### Return value

Type: `FuHidDescriptor`

A `FuHidDescriptor`, or `NULL` on error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.