FBInstant.payments.onReady: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 8: Line 8:
  FBInstant.payments.onReady(callback)
  FBInstant.payments.onReady(callback)
</source>
</source>
'''callback''': (function) A functionto be executed when Payments are available ''''''<br/>
=== Parameters ===
'''callback''': (function) A functionto be executed when Payments are available <br/>
=== Examples ===
'''Example'''<br/>
<source lang="lua"><br />
FBInstant.payments.onReady(function()
print("Payments Ready!")
end)
<br/></source>

Revision as of 09:45, 23 August 2018

Available since: Gideros 2018.3

Description


Sets a callback to be triggered when Payments operations are available.

 FBInstant.payments.onReady(callback)

Parameters

callback: (function) A functionto be executed when Payments are available

Examples

Example

<br />
FBInstant.payments.onReady(function()
	print("Payments Ready!")
end)
<br/>