Method

FwupdPluginDeviceget_metadata_boolean

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 const gchar*
 

The key.

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

Return value

Returns: gboolean
 

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