API reference

SupplementaryMetric Class

This is a supplemental piece of data that is used for a single write to leaderboard entries. This metric is used for tiebreaker scenarios. You can make such an entry by using com.meta.horizon.platform.ovr.requests.Leaderboards#writeEntryWithSupplementaryMetric(String leaderboardName, long score, long supplementaryMetric, byte[] extraData, boolean forceUpdate)

Member Functions

SupplementaryMetric
( final long ptr )
long getID ( )
The ID of the leaderboard that this supplementary metric belongs to. This is the unique value for every com.meta.horizon.platform.ovr.models.Leaderboard.
Returns
long
long getMetric ( )
This is the metric that is used to determine tiebreaks.
Returns
long