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 com.meta.horizon.platform.ovr.requests.Achievements#getAllProgress(). It can be used to display the progress of each achievement in your game. See the following link for more information.

Member Functions

AchievementProgress
( final long ptr )
If the type of the achievement is com.meta.horizon.platform.ovr.enums.AchievementType#Bitfield it represents the current bitfield state that the achievement has reached.
Returns
String
If the type of the achievement is com.meta.horizon.platform.ovr.enums.AchievementType#Count, it represents the current counter state that the achievement has reached.
Returns
long
If the user has already unlocked this achievement.
Returns
boolean
The unique string that you use to reference the achievement in your app, as specified in the developer dashboard. It can be retrieved using com.meta.horizon.platform.ovr.models.AchievementDefinition#getName().
Returns
String
If the achievement is unlocked, the time when it was unlocked.
Returns
LocalDateTime
Did you find this page helpful?
Thumbs up icon
Thumbs down icon