Method

FwupdClientget_downgrades

Declaration [src]

GPtrArray*
fwupd_client_get_downgrades (
  FwupdClient* self,
  const gchar* device_id,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Gets all the downgrades for a specific device.

Available since:0.9.8

Parameters

device_id const gchar*
 

The device ID.

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

Optional GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: An array of FwupdRelease
 

Results.

 The caller of the method takes ownership of the data container, but not the data inside it.