API reference

ChallengeEntryArray Class

A paginated array of com.meta.horizon.platform.ovr.models.ChallengeEntry that can be retrieved by com.meta.horizon.platform.ovr.requests.Challenges#getEntries(long challengeID, int limit, LeaderboardFilterType filter, LeaderboardStartAt startAt). It provides information about the size of the array, whether there are more pages available, and the URLs for navigating to the next or previous pages.

Member Functions

ChallengeEntryArray
( final long ptr )
List< ChallengeEntry > getElements ( )
The element of this array and the element type is com.meta.horizon.platform.ovr.models.ChallengeEntry. It contains information about a specific challenge entry, such as its unique identifier, the user who created it, the date and time of creation, and any additional metadata.
Returns
boolean hasNextPage ( )
A boolean indicates whether this challenge entry array has a next page.
Returns
boolean
Request< ChallengeEntryArray > getNextPage ( )
Retrieves the next page of ChallengeEntryArray. If there is no next page, this field will be empty.
boolean hasPreviousPage ( )
A boolean indicates whether this challenge entry array has a previous page.
Returns
boolean
Request< ChallengeEntryArray > getPreviousPage ( )
Retrieves the previous page of ChallengeEntryArray. If there is no previous page, this field will be empty.
String getNextUrl ( )
It's a type of string contains the information about the url of the next page of challenge entries.
Returns
String
String getPreviousUrl ( )
It's a type of string contains the information about the url of the previous page of challenge entries.
Returns
String
long getSize ( )
The size of this challenge entry array in bytes. It provides information about the amount of data that is stored in the array.
Returns
long
long getTotalCount ( )
The total count of com.meta.horizon.platform.ovr.models.ChallengeEntry in this array, across all pages.
Returns
long