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

AchievementUpdate Class

Represents an update to an existing achievement. It will be the payload if there is any updates on achievements, as unlocking an achievement by com.meta.horizon.platform.ovr.requests.Achievements#unlock(String name), adding 'count' to the achievement by com.meta.horizon.platform.ovr.requests.Achievements#addCount(String name, long count), and unlocking fields of a BITFIELD achievement by com.meta.horizon.platform.ovr.requests.Achievements#addFields(String name, String fields).

Constructors

AchievementUpdate ( ptr )
Signature
com.meta.horizon.platform.ovr.models.AchievementUpdate.AchievementUpdate(final long ptr)
Parameters
ptr: final long

Methods

getJustUnlocked ()
This indicates if this update caused the achievement to unlock.
Signature
boolean com.meta.horizon.platform.ovr.models.AchievementUpdate.getJustUnlocked()
Returns
boolean  boolean
getName ()
The unique com.meta.horizon.platform.ovr.models.AchievementDefinition#getName() used to reference the updated achievement, as specified in the developer dashboard.
Signature
String com.meta.horizon.platform.ovr.models.AchievementUpdate.getName()
Returns
String  String