Method

FwupdPluginDeviceset_metadata_boolean

since: 0.9.7

Declaration [src]

void
fu_device_set_metadata_boolean (
  FuDevice* self,
  const gchar* key,
  gboolean value
)

Description [src]

Sets an item of metadata on the device. When value is set to TRUE the actual stored value is true.

Available since: 0.9.7

Parameters

key

Type: const gchar*

The key.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
value

Type: gboolean

The boolean value.