IPurchasesUpdatedListener
A callback interface that serves as a listener for purchases made with the [AptoideBillingSDKManager](https://docs.catappult.io/docs/aptoidebillingsdkmanager)
.
Public Methods
OnPurchasesUpdated
void OnPurchasesUpdated(int responseCode, Purchase[] purchases)
Invoked to notify about purchases updates. The updates about purchases received in this listener are for both purchases initiated by your application and those initiated outside of it through the App Store.
Purchases received in this listener must be consumed.
Failure to consume a purchase when receiving it in this method will result in a refund to the user after 48 hours. Check more about it in the SDK Unity Implementation Guide.
Parameters
Name | Type | Description |
---|---|---|
responseCode | Int | Integer value of type ResponseCode of the response received. |
purchases | Array<Purchase> | Array containing the purchases that got updated. |
Updated 8 days ago