getVersionCode

fun getVersionCode(callback: Int? = null): Int

Get version code.

Return

The version code of the current application,like 1 or callback if callback is not null,throw exception otherwise.

Since

0.5.1

Parameters

callback

The default value.

Throws