Method

FwupdDeviceset_id

Declaration [src]

void
fwupd_device_set_id (
  FwupdDevice* self,
  const gchar* id
)

Description [src]

Sets the ID.

Available since:0.9.3

Parameters

id const gchar*
 

The device ID, e.g. USB:foo

 The argument can be NULL.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.