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

ChallengeEntry Class

A challenge entry object contains information about an individual entry within a challenge such as the user who made the entry, the score achieved, and other relevant details. It's the array element type of com.meta.horizon.platform.ovr.models.ChallengeEntryArray and can be retrieved using com.meta.horizon.platform.ovr.requests.Challenges#getEntries(long challengeID, int limit, LeaderboardFilterType filter, LeaderboardStartAt startAt).

Member Functions

ChallengeEntry
( final long ptr )
A displayable score for this challenge entry. The score is formatted with thousands separators and the relevant units are appended based on the associated leaderboard's score type.
Returns
String
A 2KB custom data field that is associated with the challenge entry.
Returns
byte[]
Challenges can be ranked by highest or lowest scores within a time period. This indicates the position of this challenge entry.
Returns
int
The raw underlying value of the challenge entry score. It is a type of string that is returned by a long integer.
Returns
long
The timestamp of the creation of this entry in the challenge.
Returns
LocalDateTime
The user corresponding to this entry within the challenge.
Returns