FwupdPlugin.UsbDeviceDs20.apply_to_device

### Method

# FwupdPlugin UsbDeviceDs20apply_to_device

#### Declaration [src]

    gboolean
    fu_usb_device_ds20_apply_to_device (
      FuUsbDeviceDs20* self,
      FuUsbDevice* device,
      GError** error
    )

#### Description [src]

Sets the DS20 descriptor onto `device`.

Available since: | 1.8.5

#### Parameters

`device` | `FuUsbDevice`
| A `FuUsbDevice`.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success.