PackageManager.getFirstPackage

Looks up the first package matching the given name.

class PackageManager
getFirstPackage
(
string name
)

Meta