Class
AppStreamArtifact
Constructors
as_artifact_new
Creates a new AsArtifact
.
Instance methods
as_artifact_add_checksum
Add a checksum for the file associated with this artifact.
as_artifact_add_location
Adds a artifact location.
as_artifact_get_bundle_kind
Gets the bundle kind of this artifact.
as_artifact_get_checksum
Gets the artifact checksum.
as_artifact_get_checksums
Get a list of all checksums we have for this artifact.
as_artifact_get_filename
Gets a suggested filename for the downloaded artifact,
or NULL
if none is suggested.
as_artifact_get_kind
Gets the artifact kind.
as_artifact_get_locations
Gets the artifact locations, typically URLs.
as_artifact_get_platform
Gets the artifact platform string (e.g. a triplet like “x86_64-linux-gnu”).
as_artifact_get_size
Gets the artifact size.
as_artifact_set_bundle_kind
Sets the bundle kind for this release artifact.
as_artifact_set_filename
Sets a suggested filename for this artifact after it has been downloaded.
as_artifact_set_kind
Sets the artifact kind.
as_artifact_set_platform
Sets the artifact platform triplet or identifier string.
as_artifact_set_size
Sets the artifact size for the given kind.
Signals
Signals inherited from GObject (1)
GObject.Object::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 AppStreamArtifactClass {
GObjectClass parent_class;
void (* _as_reserved1) (
void
);
void (* _as_reserved2) (
void
);
void (* _as_reserved3) (
void
);
void (* _as_reserved4) (
void
);
void (* _as_reserved5) (
void
);
void (* _as_reserved6) (
void
);
}
Class members
parent_class |
|
No description available. | |
_as_reserved1 |
|
No description available. | |
_as_reserved2 |
|
No description available. | |
_as_reserved3 |
|
No description available. | |
_as_reserved4 |
|
No description available. | |
_as_reserved5 |
|
No description available. | |
_as_reserved6 |
|
No description available. |