getAppVersion

open fun getAppVersion(): Long

Returns the current Application version.

Return

The version, or -1 if the package cannot be read.