PurchasesResponseListener
com.aptoide.sdk.billing.PurchasesResponseListener
A callback class that serves as a listener for the query of Purchases made with the AptoideBillingClient.
Public Methods
onQueryPurchasesResponse
void onQueryPurchasesResponse(BillingResult billingResult, List<Purchase> purchases)
Invoked to notify the result of querying for purchases using the method queryPurchasesAsync.
Purchases received in this listener must be consumedThe 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 Implementation guide.
Parameters
| Name | Type | Description |
|---|---|---|
| billingResult | BillingResult | Billing result of type BillingResult of the response received. |
| purchases | List<Purchase> | List containing the Purchases queried. |
Updated 3 months ago
