PackageManager.getPackage

Looks up a specific package.

Looks up a package matching the given version/path in the set of registered packages. The lookup order is done according the the usual rules (see getPackageIterator).

Parameters

name PackageName

The name of the package

ver Version

The exact version of the package to query

Return Value

Type: Package

The matching package or null if no match was found.

Meta