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

ApplicationVersion

Updated: Jul 24, 2025

ApplicationVersion

interface ApplicationVersion
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 horizon.platform.application.Application.getVersion.

Properties

NameSummary
currentCode
abstract val currentCode: Int
The version code number for the version of the application that is currently installed on the device.
currentName
abstract val currentName: String
The version name string for the version of the application that is currently installed on the device.
json
open val json: String
latestCode
abstract val latestCode: Int
Version code number of the latest update of the application. This may or may not be currently installed on the device.
latestName
abstract val latestName: String
Version name string of the latest update of the application. This may or may not be currently installed on the device.
releaseDate
abstract val releaseDate: Long
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.
size
abstract val size: String
Size of the latest application update in bytes.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon