API reference
API reference
Select your platform
No SDKs available
No versions available

ApplicationVersion Interface

Represents the version information for an application. The information includes the date of latest release, the size of the latest release and the application name and version code of currently installed version and the latest release. You can retrieve it with Application.getVersion.

Signature

interface ApplicationVersion

Properties

currentCode : Int
[Get]
The version code number for the version of the application that is currently installed on the device.
Signature
abstract val currentCode: Int
currentName : String
[Get]
The version name string for the version of the application that is currently installed on the device.
Signature
abstract val currentName: String
latestCode : Int
[Get]
Version code number of the latest update of the application. This may or may not be currently installed on the device.
Signature
abstract val latestCode: Int
latestName : String
[Get]
Version name string of the latest update of the application. This may or may not be currently installed on the device.
Signature
abstract val latestName: String
releaseDate : Long?
[Get]
Seconds since epoch when the latest application update was released. You need to convert this date to a human readable format before displaying it to the application users.
Signature
abstract val releaseDate: Long?
size : String?
[Get]
Size of the latest application update in bytes.
Signature
abstract val size: String?
Did you find this page helpful?