get_components_by_launchable


Description:

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

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.




2022 vala-language.org