API reference

LeaderboardStartAt Enum

An enum that allows you to specify the starting point for the leaderboard entries. It can be used as a params in com.meta.horizon.platform.ovr.requests.Leaderboards#getEntries(String leaderboardName, int limit, LeaderboardFilterType filter, LeaderboardStartAt startAt) to the starting point for the leaderboard entries that are returned in the response.

Fields

Top[Get]
This value indicates that the leaderboard entries should start at the top of the leaderboard.
CenteredOnViewer[Get]
This value indicates that the leaderboard entries should start at the viewer's position on the leaderboard
CenteredOnViewerOrTop[Get]
This value indicates that the leaderboard entries should start at the viewer's position on the leaderboard, or at the top of the leaderboard if the viewer is not present.
Unknown[Get]

Member Functions

LeaderboardStartAt
( final int value )
int getValue ( )

Static Member Functions

static LeaderboardStartAt fromInt
( int value )