Top | ![]() |
![]() |
![]() |
![]() |
gchar *
fwupd_release_to_string (FwupdRelease *self
);
Builds a text representation of the object.
Since: 0.9.3
const gchar *
fwupd_release_get_version (FwupdRelease *self
);
Gets the update version.
Since: 0.9.3
void fwupd_release_set_version (FwupdRelease *self
,const gchar *version
);
Sets the update version.
Since: 0.9.3
const gchar *
fwupd_release_get_uri (FwupdRelease *self
);
fwupd_release_get_uri
has been deprecated since version 1.5.6 and should not be used in newly-written code.
Use fwupd_release_get_locations()
instead.
Gets the default update URI.
Since: 0.9.3
void fwupd_release_set_uri (FwupdRelease *self
,const gchar *uri
);
fwupd_release_set_uri
has been deprecated since version 1.5.6 and should not be used in newly-written code.
Use fwupd_release_add_location()
instead.
Sets the update URI, i.e. where you can download the firmware from.
Since: 0.9.3
GPtrArray *
fwupd_release_get_locations (FwupdRelease *self
);
Gets the update URI, i.e. where you can download the firmware from.
Typically the first URI will be the main HTTP mirror, but all URIs may not be valid HTTP URIs. For example, "ipns://QmSrPmba" is valid here.
Since: 1.5.6
void fwupd_release_add_location (FwupdRelease *self
,const gchar *location
);
Adds an update URI, i.e. where you can download the firmware from.
Since: 1.5.6
GPtrArray *
fwupd_release_get_issues (FwupdRelease *self
);
Gets the list of issues fixed in this release.
Since: 1.3.2
void fwupd_release_add_issue (FwupdRelease *self
,const gchar *issue
);
Adds an resolved issue to this release.
Since: 1.3.2
GPtrArray *
fwupd_release_get_categories (FwupdRelease *self
);
Gets the release categories.
Since: 1.2.7
void fwupd_release_add_category (FwupdRelease *self
,const gchar *category
);
Adds the update category.
Since: 1.2.7
gboolean fwupd_release_has_category (FwupdRelease *self
,const gchar *category
);
Finds out if the release has the update category.
Since: 1.2.7
GPtrArray *
fwupd_release_get_checksums (FwupdRelease *self
);
Gets the release checksums.
Since: 0.9.3
void fwupd_release_add_checksum (FwupdRelease *self
,const gchar *checksum
);
Sets the update checksum.
Since: 0.9.3
gboolean fwupd_release_has_checksum (FwupdRelease *self
,const gchar *checksum
);
Finds out if the release has the update checksum.
Since: 1.2.6
GPtrArray *
fwupd_release_get_tags (FwupdRelease *self
);
Gets the release tags.
Since: 1.7.3
void fwupd_release_add_tag (FwupdRelease *self
,const gchar *tag
);
Adds a specific release tag.
Since: 1.7.3
gboolean fwupd_release_has_tag (FwupdRelease *self
,const gchar *tag
);
Finds out if the release has a specific tag.
Since: 1.7.3
GHashTable *
fwupd_release_get_metadata (FwupdRelease *self
);
Gets the release metadata.
Since: 1.0.4
void fwupd_release_add_metadata (FwupdRelease *self
,GHashTable *hash
);
Sets multiple release metadata items.
Since: 1.0.4
void fwupd_release_add_metadata_item (FwupdRelease *self
,const gchar *key
,const gchar *value
);
Sets a release metadata item.
Since: 1.0.4
const gchar * fwupd_release_get_metadata_item (FwupdRelease *self
,const gchar *key
);
Gets a release metadata item.
Since: 1.0.4
const gchar *
fwupd_release_get_filename (FwupdRelease *self
);
Gets the update filename.
Since: 0.9.3
void fwupd_release_set_filename (FwupdRelease *self
,const gchar *filename
);
Sets the update filename.
Since: 0.9.3
const gchar *
fwupd_release_get_protocol (FwupdRelease *self
);
Gets the update protocol.
Since: 1.2.2
void fwupd_release_set_protocol (FwupdRelease *self
,const gchar *protocol
);
Sets the update protocol.
Since: 1.2.2
const gchar *
fwupd_release_get_id (FwupdRelease *self
);
Gets the release ID, which allows identifying the specific uploaded component.
Since: 1.7.2
void fwupd_release_set_id (FwupdRelease *self
,const gchar *id
);
Sets the ID, which allows identifying the specific uploaded component.
Since: 1.7.2
const gchar *
fwupd_release_get_appstream_id (FwupdRelease *self
);
Gets the AppStream ID.
Since: 0.9.3
void fwupd_release_set_appstream_id (FwupdRelease *self
,const gchar *appstream_id
);
Sets the AppStream ID.
self |
||
appstream_id |
the AppStream component ID, e.g. |
[nullable] |
Since: 0.9.3
const gchar *
fwupd_release_get_detach_caption (FwupdRelease *self
);
Gets the optional text caption used to manually detach the device.
Since: 1.3.3
void fwupd_release_set_detach_caption (FwupdRelease *self
,const gchar *detach_caption
);
Sets the optional text caption used to manually detach the device.
Since: 1.3.3
const gchar *
fwupd_release_get_detach_image (FwupdRelease *self
);
Gets the optional image used to manually detach the device.
Since: 1.3.3
void fwupd_release_set_detach_image (FwupdRelease *self
,const gchar *detach_image
);
Sets the optional image used to manually detach the device.
Since: 1.3.3
const gchar *
fwupd_release_get_remote_id (FwupdRelease *self
);
Gets the remote ID that can be used for downloading.
Since: 0.9.3
void fwupd_release_set_remote_id (FwupdRelease *self
,const gchar *remote_id
);
Sets the remote ID that can be used for downloading.
Since: 0.9.3
const gchar *
fwupd_release_get_vendor (FwupdRelease *self
);
Gets the update vendor.
Since: 0.9.3
void fwupd_release_set_vendor (FwupdRelease *self
,const gchar *vendor
);
Sets the update vendor.
Since: 0.9.3
const gchar *
fwupd_release_get_name (FwupdRelease *self
);
Gets the update name.
Since: 0.9.3
void fwupd_release_set_name (FwupdRelease *self
,const gchar *name
);
Sets the update name.
Since: 0.9.3
const gchar *
fwupd_release_get_name_variant_suffix (FwupdRelease *self
);
Gets the update variant suffix.
Since: 1.3.2
void fwupd_release_set_name_variant_suffix (FwupdRelease *self
,const gchar *name_variant_suffix
);
Sets the update variant suffix.
Since: 1.3.2
const gchar *
fwupd_release_get_summary (FwupdRelease *self
);
Gets the update summary.
Since: 0.9.3
void fwupd_release_set_summary (FwupdRelease *self
,const gchar *summary
);
Sets the update summary.
Since: 0.9.3
const gchar *
fwupd_release_get_branch (FwupdRelease *self
);
Gets the update branch.
Since: 1.5.0
void fwupd_release_set_branch (FwupdRelease *self
,const gchar *branch
);
Sets the alternate branch.
Since: 1.5.0
const gchar *
fwupd_release_get_description (FwupdRelease *self
);
Gets the update description in AppStream markup format.
Since: 0.9.3
void fwupd_release_set_description (FwupdRelease *self
,const gchar *description
);
Sets the update description.
Since: 0.9.3
const gchar *
fwupd_release_get_homepage (FwupdRelease *self
);
Gets the update homepage.
Since: 0.9.3
void fwupd_release_set_homepage (FwupdRelease *self
,const gchar *homepage
);
Sets the update homepage URL.
Since: 0.9.3
const gchar *
fwupd_release_get_details_url (FwupdRelease *self
);
Gets the URL for the online update notes.
Since: 1.2.4
void fwupd_release_set_details_url (FwupdRelease *self
,const gchar *details_url
);
Sets the URL for the online update notes.
Since: 1.2.4
const gchar *
fwupd_release_get_source_url (FwupdRelease *self
);
Gets the URL of the source code used to build this release.
Since: 1.2.4
void fwupd_release_set_source_url (FwupdRelease *self
,const gchar *source_url
);
Sets the URL of the source code used to build this release.
Since: 1.2.4
guint64
fwupd_release_get_size (FwupdRelease *self
);
Gets the update size.
Since: 0.9.3
void fwupd_release_set_size (FwupdRelease *self
,guint64 size
);
Sets the update size.
Since: 0.9.3
guint64
fwupd_release_get_created (FwupdRelease *self
);
Gets when the update was created.
Since: 1.4.0
void fwupd_release_set_created (FwupdRelease *self
,guint64 created
);
Sets when the update was created.
Since: 1.4.0
const gchar *
fwupd_release_get_license (FwupdRelease *self
);
Gets the update license.
Since: 0.9.3
void fwupd_release_set_license (FwupdRelease *self
,const gchar *license
);
Sets the update license.
Since: 0.9.3
FwupdTrustFlags
fwupd_release_get_trust_flags (FwupdRelease *self
);
fwupd_release_get_trust_flags
is deprecated and should not be used in newly-written code.
Gets the trust level of the release.
Since: 0.9.8
void fwupd_release_set_trust_flags (FwupdRelease *self
,FwupdTrustFlags trust_flags
);
fwupd_release_set_trust_flags
is deprecated and should not be used in newly-written code.
Sets the trust level of the release.
Since: 0.9.8
FwupdReleaseFlags
fwupd_release_get_flags (FwupdRelease *self
);
Gets the release flags.
Since: 1.2.6
void fwupd_release_set_flags (FwupdRelease *self
,FwupdReleaseFlags flags
);
Sets the release flags.
Since: 1.2.6
void fwupd_release_add_flag (FwupdRelease *self
,FwupdReleaseFlags flag
);
Adds a specific release flag to the release.
Since: 1.2.6
void fwupd_release_remove_flag (FwupdRelease *self
,FwupdReleaseFlags flag
);
Removes a specific release flag from the release.
Since: 1.2.6
gboolean fwupd_release_has_flag (FwupdRelease *self
,FwupdReleaseFlags flag
);
Finds if the release has a specific release flag.
Since: 1.2.6
FwupdReleaseUrgency
fwupd_release_get_urgency (FwupdRelease *self
);
Gets the release urgency.
Since: 1.4.0
void fwupd_release_set_urgency (FwupdRelease *self
,FwupdReleaseUrgency urgency
);
Sets the release urgency.
Since: 1.4.0
guint32
fwupd_release_get_install_duration (FwupdRelease *self
);
Gets the time estimate for firmware installation (in seconds)
Since: 1.2.1
void fwupd_release_set_install_duration (FwupdRelease *self
,guint32 duration
);
Sets the time estimate for firmware installation (in seconds)
Since: 1.2.1
const gchar *
fwupd_release_get_update_message (FwupdRelease *self
);
Gets the update message.
Since: 1.2.4
void fwupd_release_set_update_message (FwupdRelease *self
,const gchar *update_message
);
Sets the update message.
Since: 1.2.4
const gchar *
fwupd_release_get_update_image (FwupdRelease *self
);
Gets the update image.
Since: 1.4.5
void fwupd_release_set_update_image (FwupdRelease *self
,const gchar *update_image
);
Sets the update image.
Since: 1.4.5
FwupdRelease *
fwupd_release_from_variant (GVariant *value
);
Creates a new release using serialized data.
Since: 1.0.0