Difference between revisions of "FBInstant.player.getDataAsync"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Retrieve data from the designated cloud storage of the current player.<br /> <br /> <source lan...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | FBInstant.player.getDataAsync(keys,callback) | |
</source> | </source> | ||
− | '''keys | + | '''keys''': (table) An array of unique keys to retrieve data for. ''''''<br/> |
− | '''callback | + | '''callback''': (function) A function that will be called with two arguments: a set of key-value pairs or nil is the operation failed, and an error code if the function failed. ''''''<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2018.3
Description
Retrieve data from the designated cloud storage of the current player.
FBInstant.player.getDataAsync(keys,callback)
'keys: (table) An array of unique keys to retrieve data for. '
'callback: (function) A function that will be called with two arguments: a set of key-value pairs or nil is the operation failed, and an error code if the function failed. '