Difference between revisions of "FBInstant.canCreateShortcutAsync"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3.1<br/> === Description === <br /> Returns whether or not the user is eligible to have shortcut creation requested.<br /> <br />...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= FBInstant.canCreateShortcutAsync(callback,)
+
FBInstant.canCreateShortcutAsync(callback)
 
</source>
 
</source>
'''callback:''' (function) A function that will be called with two arguments: Will return true if the game can request the player create a shortcut to the game, and false otherwise and an error code if the function failed. ''''''<br/>
+
'''callback''': (function) A function that will be called with two arguments: Will return true if the game can request the player create a shortcut to the game, and false otherwise and an error code if the function failed. ''''''<br/>

Revision as of 11:21, 23 August 2018

Available since: Gideros 2018.3.1

Description


Returns whether or not the user is eligible to have shortcut creation requested.

 FBInstant.canCreateShortcutAsync(callback)

'callback: (function) A function that will be called with two arguments: Will return true if the game can request the player create a shortcut to the game, and false otherwise and an error code if the function failed. '