Params

constructor(fileName: String, versionName: String, versionCode: Int, position: Int)

Parameters

fileName

the name of the file that needs to be installed

versionName

the version name of the application to be installed

versionCode

the version code of the application to be installed. This needs to be an integer that is strictly incrementing (as enforced by the package manager). Downgrades are only possible when uninstalling the application first.

position

the position of the app on the device