getLongVersionCode

open fun getLongVersionCode(@NonNull info: @NonNull PackageInfo): Long(source)

Return versionCode and versionCodeMajor combined together as a single long value. The versionCodeMajor is placed in the upper 32 bits on Android P or newer, otherwise these bits are all set to 0.

See also