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.

Constructors

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

Methods

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.
Signature
List<ChallengeEntry> com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getElements()
getNextPage ()
Retrieves the next page of ChallengeEntryArray. If there is no next page, this field will be empty.
Signature
Request<ChallengeEntryArray> com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getNextPage()
getNextUrl ()
It's a type of string contains the information about the url of the next page of challenge entries.
Signature
String com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getNextUrl()
Returns
String  String
getPreviousPage ()
Retrieves the previous page of ChallengeEntryArray. If there is no previous page, this field will be empty.
Signature
Request<ChallengeEntryArray> com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getPreviousPage()
getPreviousUrl ()
It's a type of string contains the information about the url of the previous page of challenge entries.
Signature
String com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getPreviousUrl()
Returns
String  String
getSize ()
The size of this challenge entry array in bytes. It provides information about the amount of data that is stored in the array.
Signature
long com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getSize()
Returns
long  long
getTotalCount ()
The total count of com.meta.horizon.platform.ovr.models.ChallengeEntry in this array, across all pages.
Signature
long com.meta.horizon.platform.ovr.models.ChallengeEntryArray.getTotalCount()
Returns
long  long
hasNextPage ()
A boolean indicates whether this challenge entry array has a next page.
Signature
boolean com.meta.horizon.platform.ovr.models.ChallengeEntryArray.hasNextPage()
Returns
boolean  boolean
hasPreviousPage ()
A boolean indicates whether this challenge entry array has a previous page.
Signature
boolean com.meta.horizon.platform.ovr.models.ChallengeEntryArray.hasPreviousPage()
Returns
boolean  boolean