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 com.meta.horizon.platform.ovr.requests.Application#getVersion().
Member Functions
ApplicationVersion
( final long ptr )
int getCurrentCode ( )
The version code number for the version of the application that is currently installed on the device.
Returns
int
String getCurrentName ( )
The version name string for the version of the application that is currently installed on the device.
Returns
String
int getLatestCode ( )
Version code number of the latest update of the application. This may or may not be currently installed on the device.
Returns
int
String getLatestName ( )
Version name string of the latest update of the application. This may or may not be currently installed on the device.
Returns
String
long getReleaseDate ( )
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.