Method

FwupdDeviceto_variant

since: 1.0.0

Declaration [src]

GVariant*
fwupd_device_to_variant (
  FwupdDevice* self
)

Description [src]

Serialize the device data omitting sensitive fields.

Available since: 1.0.0

Return value

Type: GVariant

The serialized data, or NULL for error.

The caller of the method takes ownership of the data, and is responsible for freeing it.