AppStreamCompose.Result
Description: Reference for AppStreamCompose.Result

### Class

# AppStreamComposeResult

#### Description

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

No description available.

#### Ancestors

- GObject

#### Constructors

###### asc_result_new

Creates a new `AscResult`.

#### Instance methods

###### asc_result_add_component

Add component to the results set.

###### asc_result_add_component_with_string

Add component to the results set, using string data.

###### asc_result_add_hint

Add an issue hint for a component.

###### asc_result_add_hint_by_cid

Add an issue hint for a component.

###### asc_result_add_hint_by_cid_v

Add an issue hint for a component.

###### asc_result_add_hint_simple

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

###### asc_result_add_hint_v

Add an issue hint for a component.

###### asc_result_components_count

No description available.

###### asc_result_fetch_components

Gets all components this `AsResult` instance contains.

###### asc_result_fetch_hints_all

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

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

###### asc_result_gcid_for_component

No description available.

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

###### asc_result_get_bundle_kind

Gets the bundle kind these results are for.

###### asc_result_get_component

Gets the component by its component-id-.

###### asc_result_get_component_gcids

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

###### asc_result_get_component_ids_with_hints

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

###### asc_result_get_hints

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

###### asc_result_has_hint

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

###### asc_result_hints_count

No description available.

###### asc_result_is_ignored

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

###### asc_result_remove_component

Remove a component from the results set.

###### asc_result_remove_component_by_id

Remove a component from the results set.

###### asc_result_remove_component_full

Remove a component from the results set.

###### asc_result_remove_hints_for_cid

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

###### asc_result_set_bundle_id

Sets the name of the bundle these results are for.

###### asc_result_set_bundle_kind

Sets the kind of the bundle these results are for.

###### asc_result_unit_ignored

No description available.

###### asc_result_update_component_gcid

Update the global component ID for the given component.

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

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

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