Method
FwupdClientbuild_report_devices
Declaration [src]
gchar*
fwupd_client_build_report_devices (
FwupdClient* self,
GPtrArray* devices,
GHashTable* metadata,
GError** error
)
Description [src]
Builds a JSON report for the list of devices.
This function should be called before asking the interactive user if they want to upload a report — as this function filters devices and may return an error if there is nothing to do.
You must have called fwupd_client_connect_async()
on self
before using
this method.
Available since: | 1.9.20 |
Parameters
devices |
An array of None |
Devices. |
|
The data is owned by the caller of the function. | |
metadata |
GHashTable |
Attributes. |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |