FBInstant.getLeaderboardAsync

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Fetch a specific leaderboard belonging to this Instant Game.<br /> <br /> <source lang="lua"> =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2018.3

Description


Fetch a specific leaderboard belonging to this Instant Game.

= FBInstant.getLeaderboardAsync(namecallback,)

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