Fwupd.Device.set_id

### Method

# Fwupd Deviceset_id

since: 0.9.3

#### Declaration [src]

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

#### Description [src]

Sets the ID.

Available since: 0.9.3

#### Parameters

`id`

  Type: `const gchar*`

  The device ID, e.g. `USB:foo`.

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