Method
FwupdClientmodify_device
since: 1.0.4
Declaration [src]
gboolean
fwupd_client_modify_device (
  FwupdClient* self,
  const gchar* device_id,
  const gchar* key,
  const gchar* value,
  GCancellable* cancellable,
  GError** error
)
      Description [src]
Modifies a device in a specific way. Not all properties on the FwupdDevice
are settable by the client, and some may have other restrictions on value.
NOTE: User authentication may be required to complete this action.
Available since: 1.0.4
Parameters
device_id- 
            
Type:
const gchar*The device ID.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.  key- 
            
Type:
const gchar*The key, e.g.
Flags.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.  value- 
            
Type:
const gchar*The key, e.g.
reported.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.  cancellable- 
            
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the method.  error- 
            
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.