forked from poiuytrez/AndroidInAppBilling
-
Notifications
You must be signed in to change notification settings - Fork 3
global.API
Mohammad Naghavi edited this page Jun 17, 2014
·
25 revisions
-
Name Type Description purchase
purchase the data of purchase
- Source:
-
This is the callback for
module:InAppBilling#consumePurchase
Name Type Description purchase
purchase - Source:
-
All the failure callbacks have the same signature as this.
Name Type Description error
Object the information about the error
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
Name Type Description IabResponse
int response code coming from IabHelper
IabMessage
string message text coming from IabHelper
- Source:
-
The success callback for
getAvailableProducts
.Name Type Description productsList
Array.<productDetails> - Source:
-
This is the success callback for
getProductDetails
.Name Type Description product
productDetails - Source:
-
The success callback for
getPurchases
Name Type Description purchaseList
Array.<purchase> - Source:
-
The success callback for
init
.- Source:
-
- Source:
-
- Object
- Source:
Generated with wicked.
- Installation
- [Stores setup](Stores setup)
- [Purchase verification](Purchase verification)
- [Testing plugin](Automatic tests)
- [API documentation](API documentation)
- Debugging
- Roadmap
- [Compatibility issues](Compatibility issues)