FBInstant.getLeaderboardAsync

From GiderosMobile
Revision as of 11:19, 23 August 2018 by Hgy29 (talk | contribs)

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. '