This reference document contains the details of
PurchasesUpdatedListener and the corresponding public method
public interface PurchasesUpdatedListener gg.now.billingclient.api.PurchasesUpdatedListener
PurchasesUpdatedListener is the listener interface to update the in-app purchases using the now.gg Billing Service.
abstract void onPurchasesUpdated(int billingResult, List<Purchase> purchases) // method to get notifications for purchase updates
void onPurchasesUpdated (int billingResult, List<Purchase> purchases)
onPurchasesUpdated method is implemented to enable notifications for purchase updates. These include both purchases:
Note: The purchases that are reported here, should be consumed.
|billingResult||The result of the purchase is updated with a return value. If the user already owns the item, the return value is
|purchases||List of updated purchases|