PackageManager.getSubPackage

Gets the a specific sub package.

In contrast to Package.getSubPackage, this function supports path based sub packages.

class PackageManager
getSubPackage

Parameters

base_package Package

The package from which to get a sub package

sub_name string

Name of the sub package (not prefixed with the base package name)

silent_fail bool

If set to true, the function will return null if no package is found. Otherwise will throw an exception.

Meta