getVersionName

fun getVersionName(callback: String? = null): String

Get version name.

Return

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

Since

0.5.1

Parameters

callback

The default value.

Throws