Difference between revisions of "FBInstant.getPlatform"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
The platform on which the game is currently running.<br />
 
The platform on which the game is currently running.<br />
 
<br />
 
<br />
 
Can be "IOS", "ANDROID", "WEB" or "MOBILE_WEB".
 
Can be "IOS", "ANDROID", "WEB" or "MOBILE_WEB".
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(string) = FBInstant.getPlatform()
 
(string) = FBInstant.getPlatform()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) The current platform.<br/>
+
'''Returns''' (string) <translate>The current platform.</translate><br/>

Revision as of 14:34, 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()

Return values

Returns (string) The current platform.