getVersionCode

open fun getVersionCode(): Int

获取 App 的 VersionCode。

Return

成功返回 VersionCode 值,失败返回 -1。