Method

FwupdPluginDeviceset_target

since: 2.0.0

Declaration [src]

void
fu_device_set_target (
  FuDevice* self,
  FuDevice* target
)

Description [src]

Sets the target device where FuDeviceEvent objects added to self should actually be added.

Any existing events added to self are added immediately to target.

Available since: 2.0.0

Parameters

target

Type: FuDevice

A FuDevice.

The data is owned by the caller of the method.