Top | ![]() |
![]() |
![]() |
![]() |
gchar *
fwupd_device_to_string (FwupdDevice *device
);
Builds a text representation of the object.
Since: 0.9.3
const gchar *
fwupd_device_get_id (FwupdDevice *device
);
Gets the ID.
Since: 0.9.3
void fwupd_device_set_id (FwupdDevice *device
,const gchar *id
);
Sets the ID.
Since: 0.9.3
const gchar *
fwupd_device_get_name (FwupdDevice *device
);
Gets the device name.
Since: 0.9.3
void fwupd_device_set_name (FwupdDevice *device
,const gchar *name
);
Sets the device name.
Since: 0.9.3
const gchar *
fwupd_device_get_summary (FwupdDevice *device
);
Gets the device summary.
Since: 0.9.3
void fwupd_device_set_summary (FwupdDevice *device
,const gchar *summary
);
Sets the device summary.
Since: 0.9.3
const gchar *
fwupd_device_get_description (FwupdDevice *device
);
Gets the device description in AppStream markup format.
Since: 0.9.3
void fwupd_device_set_description (FwupdDevice *device
,const gchar *description
);
Sets the device description.
Since: 0.9.3
const gchar *
fwupd_device_get_version (FwupdDevice *device
);
Gets the device version.
Since: 0.9.3
void fwupd_device_set_version (FwupdDevice *device
,const gchar *version
);
Sets the device version.
Since: 0.9.3
const gchar *
fwupd_device_get_version_lowest (FwupdDevice *device
);
Gets the lowest version of firmware the device will accept.
Since: 0.9.3
void fwupd_device_set_version_lowest (FwupdDevice *device
,const gchar *version_lowest
);
Sets the lowest version of firmware the device will accept.
Since: 0.9.3
const gchar *
fwupd_device_get_version_bootloader (FwupdDevice *device
);
Gets the version of the bootloader.
Since: 0.9.3
void fwupd_device_set_version_bootloader (FwupdDevice *device
,const gchar *version_bootloader
);
Sets the bootloader version.
Since: 0.9.3
void fwupd_device_set_flashes_left (FwupdDevice *device
,guint32 flashes_left
);
guint64
fwupd_device_get_flags (FwupdDevice *device
);
Gets the device flags.
Since: 0.9.3
void fwupd_device_set_flags (FwupdDevice *device
,guint64 flags
);
Sets the device flags.
Since: 0.9.3
void fwupd_device_add_flag (FwupdDevice *device
,FwupdDeviceFlags flag
);
Adds a specific device flag to the device.
Since: 0.9.3
void fwupd_device_remove_flag (FwupdDevice *device
,FwupdDeviceFlags flag
);
Removes a specific device flag from the device.
Since: 0.9.3
gboolean fwupd_device_has_flag (FwupdDevice *device
,FwupdDeviceFlags flag
);
Finds if the device has a specific device flag.
Since: 0.9.3
guint64
fwupd_device_get_created (FwupdDevice *device
);
Gets when the device was created.
Since: 0.9.3
void fwupd_device_set_created (FwupdDevice *device
,guint64 created
);
Sets when the device was created.
Since: 0.9.3
guint64
fwupd_device_get_modified (FwupdDevice *device
);
Gets when the device was modified.
Since: 0.9.3
void fwupd_device_set_modified (FwupdDevice *device
,guint64 modified
);
Sets when the device was modified.
Since: 0.9.3
GPtrArray *
fwupd_device_get_checksums (FwupdDevice *device
);
Gets the device checksums.
Since: 0.9.3
void fwupd_device_add_checksum (FwupdDevice *device
,const gchar *checksum
);
Sets the device checksum.
Since: 0.9.3
const gchar *
fwupd_device_get_provider (FwupdDevice *device
);
Gets the device provider.
Since: 0.9.3
void fwupd_device_set_provider (FwupdDevice *device
,const gchar *provider
);
Sets the device provider.
Since: 0.9.3
const gchar *
fwupd_device_get_vendor (FwupdDevice *device
);
Gets the device vendor.
Since: 0.9.3
void fwupd_device_set_vendor (FwupdDevice *device
,const gchar *vendor
);
Sets the device vendor.
Since: 0.9.3
const gchar *
fwupd_device_get_vendor_id (FwupdDevice *device
);
Gets the device vendor ID.
Since: 0.9.4
void fwupd_device_set_vendor_id (FwupdDevice *device
,const gchar *vendor_id
);
Sets the device vendor ID.
Since: 0.9.4
void fwupd_device_add_guid (FwupdDevice *device
,const gchar *guid
);
Adds the GUID if it does not already exist.
Since: 0.9.3
gboolean fwupd_device_has_guid (FwupdDevice *device
,const gchar *guid
);
Finds out if the device has this specific GUID.
Since: 0.9.3
GPtrArray *
fwupd_device_get_guids (FwupdDevice *device
);
Gets the GUIDs.
Since: 0.9.3
const gchar *
fwupd_device_get_guid_default (FwupdDevice *device
);
Gets the default GUID.
Since: 0.9.3