get_components_by_launchable


Description:

[ CCode ( cname = "as_pool_get_components_by_launchable_gi" ) ]
[ Version ( since = "0.11.4" ) ]
public GenericArray<Component> get_components_by_launchable (LaunchableKind kind, string id)

Find components in the AppStream data pool which provide a specific launchable.

See Launchable for details on launchables, or refer to the AppStream specification.

This function fully transfers ownership of the returned container, to be used in GIR bindings.

Parameters:

this

An instance of Pool.

kind

An LaunchableKind

id

The ID of the launchable.

Returns:

an array of Component objects which have been found.