Method

FwupdPluginDeviceadd_backend_tag

since: 1.8.5

Declaration [src]

void
fu_device_add_backend_tag (
  FuDevice* self,
  const gchar* backend_tag
)

Description [src]

Adds a backend tag, which allows the backend to identify the specific device for a specific phase. For instance, there might be a pre-update runtime, a bootloader and a post-update runtime and allowing tags to be saved to the backend object allows us to identify each version of the same physical device.

Available since: 1.8.5

Parameters

backend_tag

Type: const gchar*

A tag, for example bootloader or runtime-reload

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