getCapabilities

Returns the capabilities of the installer for the given installerType and optional list of plugins.

The returned InstallerCapabilities reflect what is actually available for the configuration on the current device, accounting for Android API level and plugin-applied restrictions. The InstallerCapabilities.installerType field may differ from the requested installerType when the requested backend is not available on the current Android version or is overridden by a plugin.

Note: Install capabilities are not split-aware. The capabilities API does not accept APK count or split metadata, so the split-install invariant that forces InstallerType.SESSION_BASED is not reflected here.

Parameters

installerType

the requested installer backend type.

plugins

Java classes of plugins to include in the resolution, implementing AckpineInstallPlugin.