Difference between revisions of "FBInstant.getSupportedAPIs"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
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 />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(table) = FBInstant.getSupportedAPIs()
 
(table) = FBInstant.getSupportedAPIs()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (table) Table of API functions that the client explicitly supports.<br/>
+
'''Returns''' (table) <translate>Table of API functions that the client explicitly supports.</translate><br/>
 
=== Examples ===
 
=== Examples ===
 
'''Example'''<br/>
 
'''Example'''<br/>
<source lang="lua"><br />
+
<source lang="lua">
 
FBInstant.getSupportedAPIs( function(result,error)
 
FBInstant.getSupportedAPIs( function(result,error)
 
     if result then
 
     if result then

Revision as of 14:34, 23 August 2018

Available since: Gideros 2018.3

Description


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

(table) = FBInstant.getSupportedAPIs()

Return values

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

Examples

Example

FBInstant.getSupportedAPIs( function(result,error)
    if result then
		print("Number of functions:",#result)
		for loop=1,#result do
			print(result[loop])
		end
	end
end)
<br/>