Method

FwupdPluginDeviceget_metadata_boolean

since: 0.9.7

Declaration [src]

gboolean
fu_device_get_metadata_boolean (
  FuDevice* self,
  const gchar* key
)

Description [src]

Gets an item of metadata from the device.

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.

Return value

Type: gboolean

A boolean value, or FALSE for unfound or failure to parse.