Difference between revisions of "FBInstant.checkCanPlayerMatchAsync"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Checks if the current player is eligible for the matchPlayerAsync API.<br /> <br /> <source lan...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= FBInstant.checkCanPlayerMatchAsync(callback,)
+
FBInstant.checkCanPlayerMatchAsync(callback)
 
</source>
 
</source>
'''callback:''' (function) A function that will be called with two arguments: True  if the player is eligible to match with other players and false otherwise.  An error code if the function failed. ''''''<br/>
+
'''callback''': (function) A function that will be called with two arguments: True  if the player is eligible to match with other players and false otherwise.  An error code if the function failed. ''''''<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2018.3

Description


Checks if the current player is eligible for the matchPlayerAsync API.

 FBInstant.checkCanPlayerMatchAsync(callback)

'callback: (function) A function that will be called with two arguments: True if the player is eligible to match with other players and false otherwise. An error code if the function failed. '