Class

AppStreamReference

[]

Description

class AppStream.Reference : GObject.Object
{
  /* No available fields */
}

No description available.

[]

Hierarchy

hierarchy this AsReference ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Constructors

as_reference_new

Creates a new AsReference.

[]

Instance methods

as_reference_get_kind

Gets the reference kind.

since: 1.0.0

as_reference_get_registry_name

Gets the name of the registry this reference is for, if the reference is of type AS_REFERENCE_KIND_REGISTRY. Otherwise return NULL.

as_reference_get_value

Gets the value of this reference, e.g. a DOI if the reference kind is AS_REFERENCE_KIND_DOI or an URL for AS_REFERENCE_KIND_CITATION_CFF.

as_reference_set_kind

Sets the reference kind.

since: 1.0.0

as_reference_set_registry_name

Sets a name of a registry if this reference is of type AS_REFERENCE_KIND_REGISTRY.

as_reference_set_value

Sets a value for this reference.

Methods inherited from GObject (43)
[]

Signals

Signals inherited from GObject (1)

Class structure