Method

FwupdPluginDeviceset_version_highest

since: 2.1.2

Declaration [src]

void
fu_device_set_version_highest (
  FuDevice* self,
  const gchar* version
)

Description [src]

Sets the highest allowed device version, sanitizing the string if required.

Available since: 2.1.2

Parameters

version

Type: const gchar*

A string, 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.