API reference

Leaderboard Class

Leaderboards provide a way for a game to keep track of players and their scores in relation to other. The leaderboard object contains information about this leaderboard ID, API name and destination. Lean more about leaderboard on our website.

Member Functions

Leaderboard
( final long ptr )
String getApiName ( )
The API name of this leaderboard. This is a unique string that your application will refer to this leaderboard in your app code.
Returns
String
Destination getDestination ( )
An optional deep link com.meta.horizon.platform.ovr.models.Destination, which means when a user clicks on the leaderboard, they will be taken to this in-app destination.
Returns
long getID ( )
The generated GUID of this leaderboard.
Returns
long