Difference between revisions of "FBInstant.getEntryPointData"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 11: Line 11:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(table) = FBInstant.getEntryPointData()
 
(table) = FBInstant.getEntryPointData()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (table) <translate>Data associated with the current entry point.</translate><br/>
 
'''<translate>Returns</translate>''' (table) <translate>Data associated with the current entry point.</translate><br/>
  
 
{{FBInstant}}
 
{{FBInstant}}

Latest revision as of 15:26, 13 July 2023


Available since: Gideros 2018.3
Class: * Initialisation and Core

Description


Returns any data object associated with the entry point that the game was launched from.

The contents of the object are developer-defined, and can occur from entry points on different platforms. This will return null for older mobile clients, as well as when there is no data associated with the particular entry point.

(table) = FBInstant.getEntryPointData()

Return values

Returns (table) Data associated with the current entry point.