Method

FwupdPluginDevicereplace

Declaration [src]

void
fu_device_replace (
  FuDevice* self,
  FuDevice* donor
)

Description [src]

Copy properties from the old (no-longer-connected) device to the new (connected) device.

This is typcically called from the daemon device list and should not be called from plugin code.

Available since:1.9.2

Parameters

donor FuDevice
 

The old FuDevice.

 The data is owned by the caller of the function.