Resource: Leaderboard
The Leaderboard resource.
JSON representation |
---|
{
"kind": string,
"id": string,
"name": string,
"iconUrl": string,
"isIconUrlDefault": boolean,
"order": enum ( |
Fields | |
---|---|
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
id |
The leaderboard ID. |
name |
The name of the leaderboard. |
iconUrl |
The icon for the leaderboard. |
isIconUrlDefault |
Indicates whether the icon image being returned is a default image, or is game-provided. |
order |
How scores are ordered. |
ScoreOrder
Possible score orders.
Enums | |
---|---|
LARGER_IS_BETTER |
Larger values are better; scores are sorted in descending order |
SMALLER_IS_BETTER |
Smaller values are better; scores are sorted in ascending order |
Methods |
|
---|---|
|
Retrieves the metadata of the leaderboard with the given ID. |
|
Lists all the leaderboard metadata for your application. |