Method

FwupdDeviceset_version

since: 0.9.3

Declaration [src]

void
fwupd_device_set_version (
  FwupdDevice* self,
  const gchar* version
)

Description [src]

Sets the device version.

Available since: 0.9.3

Sets propertyFwupd.Device:version

Parameters

version

Type: const gchar*

The device version, e.g. 1.2.3.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.