get_components_by_bundle_id


Description:

[ Version ( since = "0.16.0" ) ]
public ComponentBox get_components_by_bundle_id (BundleKind kind, string bundle_id, bool match_prefix)

Find components that are provided by a bundle with a specific ID by its prefix.

For example, given a AS_BUNDLE_KIND_FLATPAK and a bundle_id "org.kde.dolphin/", it will list all the components that bundle dolphin. If the bundle_id is "org.kde.dolphin/x86_64" it will give those with also the architecture.

Parameters:

this

An instance of Pool.

kind

The kind of the bundle we are looking for

bundle_id

The bundle ID to match, as specified in Bundle

match_prefix

true to match the ID by prefix, false to perform an absolute match.

Returns:

an ComponentBox.