getPackageInfo

fun getPackageInfo(): PackageInfo?

Return

PackageInfo for the current application or null if the PackageManager could not be contacted.