Class

FwupdRelease

Description [src]

class Fwupd.Release : GObject.Object {
  parent_instance: GObject
}

A firmware release with a specific version.

Devices can have more than one release, and the releases are typically ordered by their version.

See also: FwupdDevice

Ancestors

Constructors

fwupd_release_new

Creates a new release.

since: 0.9.3

Functions

fwupd_release_array_from_variant

Creates an array of new releases using serialized data.

since: 1.2.10

fwupd_release_flag_from_string

Converts a string to an enumerated release flag.

since: 1.2.6

fwupd_release_flag_to_string

Converts an enumerated release flag to a string.

since: 1.2.6

fwupd_release_from_variant

Creates a new release using serialized data.

since: 1.0.0

fwupd_release_urgency_from_string

Converts a string to an enumerated release urgency value.

since: 1.4.0

fwupd_release_urgency_to_string

Converts an enumerated release urgency to a string.

since: 1.4.0

Instance methods

fwupd_release_add_category

Adds the update category.

since: 1.2.7

fwupd_release_add_checksum

Sets the update checksum.

since: 0.9.3

fwupd_release_add_flag

Adds a specific release flag to the release.

since: 1.2.6

fwupd_release_add_issue

Adds an resolved issue to this release.

since: 1.3.2

fwupd_release_add_location

Adds an update URI, i.e. where you can download the firmware from.

since: 1.5.6

fwupd_release_add_metadata

Sets multiple release metadata items.

since: 1.0.4

fwupd_release_add_metadata_item

Sets a release metadata item.

since: 1.0.4

fwupd_release_add_report

Adds a report for this release.

since: 1.8.8

fwupd_release_add_tag

Adds a specific release tag.

since: 1.7.3

fwupd_release_get_appstream_id

Gets the AppStream ID.

since: 0.9.3

fwupd_release_get_branch

Gets the update branch.

since: 1.5.0

fwupd_release_get_categories

Gets the release categories.

since: 1.2.7

fwupd_release_get_checksums

Gets the release container checksums.

since: 0.9.3

fwupd_release_get_created

Gets when the update was created.

since: 1.4.0

fwupd_release_get_description

Gets the update description in AppStream markup format.

since: 0.9.3

fwupd_release_get_detach_caption

Gets the optional text caption used to manually detach the device.

since: 1.3.3

fwupd_release_get_detach_image

Gets the optional image used to manually detach the device.

since: 1.3.3

fwupd_release_get_details_url

Gets the URL for the online update notes.

since: 1.2.4

fwupd_release_get_filename

Gets the update filename.

since: 0.9.3

fwupd_release_get_flags

Gets the release flags.

since: 1.2.6

fwupd_release_get_homepage

Gets the update homepage.

since: 0.9.3

fwupd_release_get_id

Gets the release ID, which allows identifying the specific uploaded component.

since: 1.7.2

fwupd_release_get_install_duration

Gets the time estimate for firmware installation (in seconds)

since: 1.2.1

fwupd_release_get_issues

Gets the list of issues fixed in this release.

since: 1.3.2

fwupd_release_get_license

Gets the update license.

since: 0.9.3

fwupd_release_get_locations

Gets the update URI, i.e. where you can download the firmware from.

since: 1.5.6

fwupd_release_get_metadata

Gets the release metadata.

since: 1.0.4

fwupd_release_get_metadata_item

Gets a release metadata item.

since: 1.0.4

fwupd_release_get_name

Gets the update name.

since: 0.9.3

fwupd_release_get_name_variant_suffix

Gets the update variant suffix.

since: 1.3.2

fwupd_release_get_protocol

Gets the update protocol.

since: 1.2.2

fwupd_release_get_remote_id

Gets the remote ID that can be used for downloading.

since: 0.9.3

fwupd_release_get_reports

Gets all the reports for this release.

since: 1.8.8

fwupd_release_get_size

Gets the update size.

since: 0.9.3

fwupd_release_get_source_url

Gets the URL of the source code used to build this release.

since: 1.2.4

fwupd_release_get_summary

Gets the update summary.

since: 0.9.3

fwupd_release_get_tags

Gets the release tags.

since: 1.7.3

fwupd_release_get_trust_flags

Gets the trust level of the release.

since: 0.9.8

fwupd_release_get_update_image

Gets the update image.

since: 1.4.5

fwupd_release_get_update_message

Gets the update message.

since: 1.2.4

fwupd_release_get_urgency

Gets the release urgency.

since: 1.4.0

fwupd_release_get_uri

Gets the default update URI.

deprecated: 1.5.6 since: 0.9.3

fwupd_release_get_vendor

Gets the update vendor.

since: 0.9.3

fwupd_release_get_version

Gets the update version.

since: 0.9.3

fwupd_release_has_category

Finds out if the release has the update category.

since: 1.2.7

fwupd_release_has_checksum

Finds out if the release has the update container checksum.

since: 1.2.6

fwupd_release_has_flag

Finds if the release has a specific release flag.

since: 1.2.6

fwupd_release_has_tag

Finds out if the release has a specific tag.

since: 1.7.3

fwupd_release_incorporate

Copy all properties from the donor object.

since: 1.8.8

fwupd_release_remove_flag

Removes a specific release flag from the release.

since: 1.2.6

fwupd_release_set_appstream_id

Sets the AppStream ID.

since: 0.9.3

fwupd_release_set_branch

Sets the alternate branch.

since: 1.5.0

fwupd_release_set_created

Sets when the update was created.

since: 1.4.0

fwupd_release_set_description

Sets the update description.

since: 0.9.3

fwupd_release_set_detach_caption

Sets the optional text caption used to manually detach the device.

since: 1.3.3

fwupd_release_set_detach_image

Sets the optional image used to manually detach the device.

since: 1.3.3

fwupd_release_set_details_url

Sets the URL for the online update notes.

since: 1.2.4

fwupd_release_set_filename

Sets the update filename.

since: 0.9.3

fwupd_release_set_flags

Sets the release flags.

since: 1.2.6

fwupd_release_set_homepage

Sets the update homepage URL.

since: 0.9.3

fwupd_release_set_id

Sets the ID, which allows identifying the specific uploaded component.

since: 1.7.2

fwupd_release_set_install_duration

Sets the time estimate for firmware installation (in seconds)

since: 1.2.1

fwupd_release_set_license

Sets the update license.

since: 0.9.3

fwupd_release_set_name

Sets the update name.

since: 0.9.3

fwupd_release_set_name_variant_suffix

Sets the update variant suffix.

since: 1.3.2

fwupd_release_set_protocol

Sets the update protocol.

since: 1.2.2

fwupd_release_set_remote_id

Sets the remote ID that can be used for downloading.

since: 0.9.3

fwupd_release_set_size

Sets the update size.

since: 0.9.3

fwupd_release_set_source_url

Sets the URL of the source code used to build this release.

since: 1.2.4

fwupd_release_set_summary

Sets the update summary.

since: 0.9.3

fwupd_release_set_trust_flags

Sets the trust level of the release.

since: 0.9.8

fwupd_release_set_update_image

Sets the update image.

since: 1.4.5

fwupd_release_set_update_message

Sets the update message.

since: 1.2.4

fwupd_release_set_urgency

Sets the release urgency.

since: 1.4.0

fwupd_release_set_uri

Sets the update URI, i.e. where you can download the firmware from.

deprecated: 1.5.6 since: 0.9.3

fwupd_release_set_vendor

Sets the update vendor.

since: 0.9.3

fwupd_release_set_version

Sets the update version.

since: 0.9.3

fwupd_release_to_json

Adds a fwupd release to a JSON builder.

since: 1.2.6

fwupd_release_to_string

Builds a text representation of the object.

since: 0.9.3

fwupd_release_to_variant

Serialize the release data.

since: 1.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Fwupd.Release:remote-id

The remote ID.

since: 1.8.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FwupdReleaseClass {
  GObjectClass parent_class;
  void (* _fwupd_reserved1) (
void
  );
  void (* _fwupd_reserved2) (
void
  );
  void (* _fwupd_reserved3) (
void
  );
  void (* _fwupd_reserved4) (
void
  );
  void (* _fwupd_reserved5) (
void
  );
  void (* _fwupd_reserved6) (
void
  );
  void (* _fwupd_reserved7) (
void
  );
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
_fwupd_reserved1: void (* _fwupd_reserved1) ( void )
No description available.
_fwupd_reserved2: void (* _fwupd_reserved2) ( void )
No description available.
_fwupd_reserved3: void (* _fwupd_reserved3) ( void )
No description available.
_fwupd_reserved4: void (* _fwupd_reserved4) ( void )
No description available.
_fwupd_reserved5: void (* _fwupd_reserved5) ( void )
No description available.
_fwupd_reserved6: void (* _fwupd_reserved6) ( void )
No description available.
_fwupd_reserved7: void (* _fwupd_reserved7) ( void )
No description available.