Difference between revisions of "FBInstant.getSupportedAPIs"
From GiderosMobile
Line 8: | Line 8: | ||
(table) = FBInstant.getSupportedAPIs() | (table) = FBInstant.getSupportedAPIs() | ||
</source> | </source> | ||
+ | === Return values === | ||
'''Returns''' (table) Table of API functions that the client explicitly supports.<br/> | '''Returns''' (table) Table of API functions that the client explicitly supports.<br/> | ||
+ | === Examples === | ||
+ | '''Example'''<br/> | ||
+ | <source lang="lua"><br /> | ||
+ | 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/></source> |
Revision as of 10:45, 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
<br />
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/>