Method

FwupdPluginDeviceset_alternate_id

Declaration [src]

void
fu_device_set_alternate_id (
  FuDevice* self,
  const gchar* alternate_id
)

Description [src]

Sets any alternate device ID. An alternate device may be linked to the primary device in some way.

Available since:1.1.0

Parameters

alternate_id const gchar*
 

Another FuDevice ID.

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