Difference between revisions of "FBInstant.getSupportedAPIs"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Provides a table of API functions that are supported by the client.<br />
 
Provides a table of API functions that are supported by the client.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(table) = FBInstant.getSupportedAPIs()
 
(table) = FBInstant.getSupportedAPIs()
 
</source>
 
</source>
Line 14: Line 14:
 
=== <translate>Examples</translate> ===
 
=== <translate>Examples</translate> ===
 
'''Example'''<br/>
 
'''Example'''<br/>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
FBInstant.getSupportedAPIs( function(result,error)
 
FBInstant.getSupportedAPIs( function(result,error)
 
     if result then
 
     if result then

Revision as of 15:26, 13 July 2023


Available since: Gideros 2018.3
Class: * Initialisation and Core

Description


Provides a table of API functions that are supported by the client.

<syntaxhighlight lang="lua"> (table) = FBInstant.getSupportedAPIs() </source>

Return values

Returns (table) Table of API functions that the client explicitly supports.

Examples

Example
<syntaxhighlight lang="lua"> FBInstant.getSupportedAPIs( function(result,error)

   if result then

print("Number of functions:",#result) for loop=1,#result do print(result[loop]) end end end)
</source>