Difference between revisions of "FBInstant.getEntryPointData"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 9: Line 9:
 
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.<br />
 
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.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(table) = FBInstant.getEntryPointData()
 
(table) = FBInstant.getEntryPointData()
 
</source>
 
</source>

Revision as of 14: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.

<syntaxhighlight lang="lua"> (table) = FBInstant.getEntryPointData() </source>

Return values

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