FwupdPlugin.Device.set_name

### Method

# FwupdPlugin Deviceset_name

#### Declaration [src]

    void
    fu_device_set_name (
      FuDevice* self,
      const gchar* value
    )

#### Description [src]

Sets the name on the device. Any invalid parts will be converted or removed.

Available since: | 0.7.1

#### Parameters

`value` | `const gchar*`
| A device name.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.