getCapabilities
fun getCapabilities(uninstallerType: UninstallerType, plugins: List<Class<out AckpineUninstallPlugin<*>>>): UninstallerCapabilities
fun getCapabilities(uninstallerType: UninstallerType, vararg plugins: Class<out AckpineUninstallPlugin<*>>): UninstallerCapabilities
Returns the capabilities of the uninstaller for the given uninstallerType and optional list of plugins.
The returned UninstallerCapabilities reflect what is actually available for the configuration on the current device, accounting for Android API level and plugin-applied restrictions. The UninstallerCapabilities.uninstallerType field may differ from the requested uninstallerType when the requested backend is not available on the current Android version or is overridden by a plugin.
Parameters
uninstallerType
the requested uninstaller backend type.
plugins
Java classes of plugins to include in the resolution, implementing AckpineUninstallPlugin.