FBInstant.getEntryPointAsync

From GiderosMobile
Revision as of 10:45, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2018.3

Description


Returns the entry point that the game was launched from.

 FBInstant.getEntryPointAsync(callback)

Parameters

callback: (function) A function that will be called with two arguments: The name of the entry point from which the user started the game or nil if the operation failed, and an error code if the function failed.

Examples

Example

<br />
FBInstant.getEntryPointAsync( function(result,error)
    if result then
		print("Entry point:",result)
	end
end)
<br/>