Constructor
FwupdPluginUsbDevicenew
since: 1.8.2
[−]
Parameters
ctx
-
Type:
FuContext
A
FuContext
.The argument can be NULL
.The data is owned by the caller of the function. usb_device
-
Type:
GUsbDevice
A USB device.
The data is owned by the caller of the function.
[−]
Return value
Type: FuUsbDevice
A FuUsbDevice
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |