Method

FwupdPluginPlugindevice_add

Declaration [src]

void
fu_plugin_device_add (
  FuPlugin* self,
  FuDevice* device
)

Description [src]

Asks the daemon to add a device to the exported list. If this device ID has already been added by a different plugin then this request will be ignored.

Plugins should use fu_plugin_device_add_delay() if they are not capable of actually flashing an image to the hardware so that higher-priority plugins can add the device themselves.

Available since:0.8.0

Parameters

device FuDevice
 

A device.

 The data is owned by the caller of the function.