Skip to content
Mohammad Naghavi edited this page Jun 17, 2014 · 25 revisions

Global

Type Definitions

buySuccessCallback(purchaseData)

The success callback for InAppBilling.buy

Parameters:
Name Type Description
purchaseData Object

the data of purchase

Source:

errorCallback(error)

All the failure callbacks have the same signature as this.

Parameters:
Name Type Description
error Object

the information about the error

Properties
Name Type Description
errorCode int

one of the error codes defined with ERR_*

msg string

a textual message intended for developer in order to make debuging easier

nativeEvent Object

additional information mainly intended for debug process which will not be present if the source of error is not IAB

Properties
Name Type Description
IabResponse int

response code coming from IabHelper

IabMessage string

message text coming from IabHelper

Source:

getPurchasesSuccessCallback(purchaseList)

The success callback for InAppBilling.getPurchases

Parameters:
Name Type Description
purchaseList Array.<Object>
Source:

initSuccessCallback()

The success callback for module:InAppBilling#init.

Source:

Generated with wicked.
  • Installation
  • [Stores setup](Stores setup)
  • [Purchase verification](Purchase verification)
  • [Testing plugin](Automatic tests)
  • [API documentation](API documentation)
  • Debugging

Philosophy

  • Roadmap
  • [Compatibility issues](Compatibility issues)

API

Clone this wiki locally