Package 

Class PurchaseManagerGoogleBilling

  • All Implemented Interfaces:
    com.android.billingclient.api.PurchasesUpdatedListener , com.badlogic.gdx.pay.InformationFinder , com.badlogic.gdx.pay.PurchaseManager

    
    public class PurchaseManagerGoogleBilling
     implements PurchaseManager, PurchasesUpdatedListener
                        

    The purchase manager implementation for Google Play (Android) using Google Billing Library

    Reference docs

    Exponential back-off copied from (a clone of) an Android sample.

    Created by Benjamin Schulte on 07.07.2018.

    • Method Summary

      Modifier and Type Method Description
      Information getInformation(String identifier)
      String storeName()
      void install(PurchaseObserver observer, PurchaseManagerConfig config, boolean autoFetchInformation)
      boolean installed()
      void dispose()
      void purchase(String identifier)
      void purchaseRestore()
      void onPurchasesUpdated(BillingResult result, @Nullable() List<Purchase> purchases)
      • Methods inherited from class com.badlogic.gdx.pay.PurchaseManager

        dispose, install, installed, purchase, purchaseRestore, storeName
      • Methods inherited from class com.badlogic.gdx.pay.InformationFinder

        getInformation
      • Methods inherited from class com.android.billingclient.api.PurchasesUpdatedListener

        onPurchasesUpdated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait