public interface PurchasesUpdatedListener
Listener interface for purchase updates which happen when, for example, the user buys something within the app or by initiating a purchase from Google Play Store.
Implement this method to get notifications for purchases updates.
abstract void onPurchasesUpdated(
Implement this method to get notifications for purchases updates. Both purchases initiated by your app and the ones initiated outside of your app will be reported here.
Warning! All purchases reported here must either be consumed or acknowledged. Failure to either consume (via
BillingClient#consumeAsync) or acknowledge (via
acknowledgePurchase) a purchase will result in that purchase being refunded. Please refer to the integration guide for more details.
Result of the purchase update.
List of updated purchases if present.