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

ApplicationVersion Class

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().

Constructors

ApplicationVersion ( o )
Signature
Oculus.Platform.Models.ApplicationVersion.ApplicationVersion(IntPtr o)
Parameters
o: IntPtr

Fields

CurrentCode : readonly int
The version code number for the version of the application that is currently installed on the device.
Signature
readonly int Oculus.Platform.Models.ApplicationVersion.CurrentCode
CurrentName : readonly string
The version name string for the version of the application that is currently installed on the device.
Signature
readonly string Oculus.Platform.Models.ApplicationVersion.CurrentName
LatestCode : readonly int
Version code number of the latest update of the application. This may or may not be currently installed on the device.
Signature
readonly int Oculus.Platform.Models.ApplicationVersion.LatestCode
LatestName : readonly string
Version name string of the latest update of the application. This may or may not be currently installed on the device.
Signature
readonly string Oculus.Platform.Models.ApplicationVersion.LatestName
ReleaseDate : readonly 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.
Signature
readonly long Oculus.Platform.Models.ApplicationVersion.ReleaseDate
Size : readonly string
Size of the latest application update in bytes.
Signature
readonly string Oculus.Platform.Models.ApplicationVersion.Size