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...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2018.3<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2018.3<br/> |
− | <br /> | + | '''<translate>Class</translate>:''' [[Special:MyLanguage/* Initialisation and Core|* Initialisation and Core]]<br/> |
+ | === <translate>Description</translate> === | ||
+ | <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> |
− | < | + | <syntaxhighlight lang="lua"> |
− | (string) | + | (string) = FBInstant.getPlatform() |
− | </ | + | </syntaxhighlight> |
− | '''Returns''' (string) The current platform.<br/> | + | === <translate>Return values</translate> === |
+ | '''<translate>Returns</translate>''' (string) <translate>The current platform.</translate><br/> | ||
+ | |||
+ | {{FBInstant}} |
Latest revision as of 14:27, 13 July 2023
Available since: Gideros 2018.3
Class: * Initialisation and Core
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.
- FBInstant.canCreateShortcutAsync
- FBInstant.checkCanPlayerMatchAsync
- FBInstant.createShortcutAsync
- FBInstant.getEntryPointAsync
- FBInstant.getEntryPointData
- FBInstant.getInterstitialAdAsync
- FBInstant.getLeaderboardAsync
- FBInstant.getLocale
- FBInstant.getPlatform
- FBInstant.getRewardedVideoAsync
- FBInstant.getSDKVersion
- FBInstant.getSupportedAPIs
- FBInstant.logEvent
- FBInstant.matchPlayerAsync
- FBInstant.onPause
- FBInstant.quit
- FBInstant.setLoadingProgress
- FBInstant.setSessionData
- FBInstant.shareAsync
- FBInstant.startGameAsync
- FBInstant.switchGameAsync
- FBInstant.updateAsync