FBInstant.getLeaderboardAsync
From GiderosMobile
Available since: Gideros 2018.3
Description
Fetch a specific leaderboard belonging to this Instant Game.
FBInstant.getLeaderboardAsync(name,callback)
'name: (string) The name of the leaderboard. Each leaderboard for an Instant Game must have its own distinct name. '
'callback: (function) A function that will be called with two arguments: Result with the matching leaderboard, rejecting if one is not found. An error code if the function failed. '