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

LeaderboardEntryArray Class

An array of paginated leaderboard entries. It can be retrieved using com.meta.horizon.platform.ovr.requests.Leaderboards#getEntries(String leaderboardName, int limit, LeaderboardFilterType filter, LeaderboardStartAt startAt). It provides information about the leaderboard entries, such as their size, whether there are next or previous pages, the URLs for those pages, and the total count of entries in the leaderboard.

Member Functions

LeaderboardEntryArray
( final long ptr )
This field represents an individual com.meta.horizon.platform.ovr.models.LeaderboardEntry within the array. It contains information about the leaderboard entry, such as its rank, score, and player name.
A boolean indicates whether this leaderboard entry array has next page.
Returns
boolean
Retrieves the next page of LeaderboardEntryArray. If there is no next page, this field will be empty.
A boolean indicates whether this leaderboard entry array has previous page.
Returns
boolean
Retrieves the previous page of LeaderboardEntryArray. If there is no previous page, this field will be empty.
The url of the next page of leaderboard entries. It provides a link to the next set of entries in the leaderboard.
Returns
String
The url of the previous leaderboard entries. It provides a link to the previous set of entries in the leaderboard.
Returns
String
The size of this leaderboard entry array in bytes. It provides information about the amount of data stored in the array.
Returns
long
The total count of this leaderboard entry array, ignoring the pagination. It provides information about the total number of entries in the leaderboard.
Returns
long
Did you find this page helpful?
Thumbs up icon
Thumbs down icon