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

AchievementProgress Class

The unlock progress of a particular achievement can be retrieved using Achievements.GetAllProgress(). It can be used to display the progress of each achievement in your game. See the following link for more information.

Constructors

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

Fields

Bitfield : readonly string
If the type of the achievement is AchievementType.Bitfield it represents the current bitfield state that the achievement has reached.
Signature
readonly string Oculus.Platform.Models.AchievementProgress.Bitfield
Count : readonly ulong
If the type of the achievement is AchievementType.Count, it represents the current counter state that the achievement has reached.
Signature
readonly ulong Oculus.Platform.Models.AchievementProgress.Count
IsUnlocked : readonly bool
If the user has already unlocked this achievement.
Signature
readonly bool Oculus.Platform.Models.AchievementProgress.IsUnlocked
Name : readonly string
The unique string that you use to reference the achievement in your app, as specified in the developer dashboard. It can be retrieved using AchievementDefinition::Name.
Signature
readonly string Oculus.Platform.Models.AchievementProgress.Name
UnlockTime : readonly DateTime
If the achievement is unlocked, the time when it was unlocked.
Signature
readonly DateTime Oculus.Platform.Models.AchievementProgress.UnlockTime