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
Type: Package

The package from which to get a sub package

sub_name
Type: string

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

silent_fail
Type: bool

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

Meta