AppStreamCompose.Result
Description: Reference for AppStreamCompose.Result

### Class

# AppStreamComposeResult

since: 1.0

#### Description

    class AppStreamCompose.Result : GObject.Object
    {
      /* No available fields */
    }

No description available.

Available since: 1.0

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### asc_result_new

Creates a new `AscResult`.

since: 1.0

#### Instance methods

###### asc_result_add_component

Add component to the results set.

since: 1.0

###### asc_result_add_component_with_string

Add component to the results set, using string data.

since: 1.0

###### asc_result_add_hint

Add an issue hint for a component.

since: 1.0

###### asc_result_add_hint_by_cid

Add an issue hint for a component.

since: 1.0

###### asc_result_add_hint_by_cid_v

Add an issue hint for a component.

since: 1.0

###### asc_result_add_hint_simple

Add an issue hint which does not have any variables to replace in its explanation text for a component.

since: 1.0

###### asc_result_add_hint_v

Add an issue hint for a component.

since: 1.0

###### asc_result_components_count

No description available.

since: 1.0

###### asc_result_fetch_components

Gets all components this `AsResult` instance contains.

since: 1.0

###### asc_result_fetch_hints_all

Get a list of all hints for all components that are registered with this result.

since: 1.0

###### asc_result_gcid_for_cid

Retrieve the global component-ID string for the given component-ID, as long as component with the given ID is registered with this `AscResult`. Otherwise, `NULL` is returned.

since: 1.0

###### asc_result_gcid_for_component

No description available.

since: 1.0

###### asc_result_get_bundle_id

Gets the ID name of the bundle (a package / Flatpak / any entity containing metadata) that these these results are generated for.

since: 1.0

###### asc_result_get_bundle_kind

Gets the bundle kind these results are for.

since: 1.0

###### asc_result_get_component

Gets the component by its component-id-

since: 1.0

###### asc_result_get_component_gcids

Retrieve a list of all global component-IDs that this result knows of.

since: 1.0

###### asc_result_get_component_ids_with_hints

Gets list of component-IDs which do have issue hints associated with them.

since: 1.0

###### asc_result_get_hints

Gets hints for a component with the given component-id.

since: 1.0

###### asc_result_has_hint

Test if a hint tag is associated with a given component in this result.

since: 1.0

###### asc_result_hints_count

No description available.

since: 1.0

###### asc_result_is_ignored

Check if an `AsComponent` was set to be ignored in this result (usually due to errors).

since: 1.0

###### asc_result_remove_component

Remove a component from the results set.

since: 1.0

###### asc_result_remove_component_by_id

Remove a component from the results set.

since: 1.0

###### asc_result_remove_component_full

Remove a component from the results set.

since: 1.0

###### asc_result_remove_hints_for_cid

Remove all hints that we have associated with the selected component-ID.

since: 1.0

###### asc_result_set_bundle_id

Sets the name of the bundle these results are for.

since: 1.0

###### asc_result_set_bundle_kind

Sets the kind of the bundle these results are for.

since: 1.0

###### asc_result_unit_ignored

No description available.

since: 1.0

###### asc_result_update_component_gcid

Update the global component ID for the given component.

since: 1.0

###### asc_result_update_component_gcid_with_string

Update the global component ID for the given component. This is a convenience method for %asc_result_update_component_gcid.

since: 1.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### 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.

unstable since: 2.0

#### Class structure

    struct AppStreamComposeResultClass {
      GObjectClass parent_class;
      void (* _as_reserved1) (
    void
      );
      void (* _as_reserved2) (
    void
      );
      void (* _as_reserved3) (
    void
      );
      void (* _as_reserved4) (
    void
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`
  No description available.
`_as_reserved1: void (* _as_reserved1) ( void )`
  No description available.
`_as_reserved2: void (* _as_reserved2) ( void )`
  No description available.
`_as_reserved3: void (* _as_reserved3) ( void )`
  No description available.
`_as_reserved4: void (* _as_reserved4) ( void )`
  No description available.