update_metadata_bytes


Description:

[ Version ( since = "1.4.5" ) ]
public bool update_metadata_bytes (string remote_id, Bytes metadata, Bytes signature, Cancellable? cancellable = null) throws Error

Updates the metadata.

This allows a session process to download the metadata and metadata signing file to be passed into the daemon to be checked and parsed.

The remote_id allows the firmware to be tagged so that the remote can be matched when the firmware is downloaded.

Parameters:

this

A Client

remote_id

remote ID, e.g. `lvfs-testing`

metadata

XML metadata data

signature

signature data

cancellable

Cancellable, or null

Returns:

true for success