Difference between revisions of "FBInstant.getSupportedAPIs"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 9: Line 9:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(table) = FBInstant.getSupportedAPIs()
 
(table) = FBInstant.getSupportedAPIs()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (table) <translate>Table of API functions that the client explicitly supports.</translate><br/>
 
'''<translate>Returns</translate>''' (table) <translate>Table of API functions that the client explicitly supports.</translate><br/>
Line 23: Line 23:
 
end
 
end
 
end)
 
end)
<br/></source>
+
<br/></syntaxhighlight>
  
 
{{FBInstant}}
 
{{FBInstant}}

Latest revision as of 15:27, 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.

(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/>