Difference between revisions of "FBInstant.getPlatform"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> The platform on which the game is currently running.<br /> <br /> Can be "IOS", "ANDROID", "WEB...")
 
Line 8: Line 8:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(string), = FBInstant.getPlatform()
+
(string) = FBInstant.getPlatform()
 
</source>
 
</source>
 
'''Returns''' (string) The current platform.<br/>
 
'''Returns''' (string) The current platform.<br/>

Revision as of 10:20, 23 August 2018

Available since: Gideros 2018.3

Description


The platform on which the game is currently running.

Can be "IOS", "ANDROID", "WEB" or "MOBILE_WEB".

(string) = FBInstant.getPlatform()

Returns (string) The current platform.