Purchases is the client SDK for RevenueCat.

All Types

com.revenuecat.purchases.BillingFactory
com.revenuecat.purchases.interfaces.Callback
com.revenuecat.purchases.ErrorPurchaseCallback
com.revenuecat.purchases.interfaces.GetProductDetailsCallback
com.revenuecat.purchases.interfaces.GetSkusResponseListener

Interface to be implemented when making calls to fetch [SkuDetails]

com.revenuecat.purchases.interfaces.LogInCallback

Interface to be implemented when calling logIn

com.revenuecat.purchases.interfaces.MakePurchaseListener

Interface to be implemented when making purchases.

com.revenuecat.purchases.interfaces.ProductChangeCallback

Interface to be implemented when upgrading or downgrading a purchase.

com.revenuecat.purchases.interfaces.ProductChangeListener

Interface to be implemented when upgrading or downgrading a purchase.

com.revenuecat.purchases.interfaces.PurchaseCallback
com.revenuecat.purchases.interfaces.PurchaseErrorListener
com.revenuecat.purchases.Purchases

Entry point for Purchases. It should be instantiated as soon as your app has a unique user id for your user. This can be when a user logs in if you have accounts or on launch if you can generate a random user identifier. Make sure you follow the quickstart guide to setup your RevenueCat account.

com.revenuecat.purchases.PurchasesConfiguration
com.revenuecat.purchases.interfaces.ReceiveOfferingsListener

Interface to be implemented when making calls to fetch [Offering].

com.revenuecat.purchases.interfaces.ReceivePurchaserInfoListener

Interface to be implemented when making calls that return a [PurchaserInfo]

com.revenuecat.purchases.SuccessfulPurchaseCallback
com.revenuecat.purchases.interfaces.UpdatedPurchaserInfoListener

Used to handle async updates from [Purchases]. This interface should be implemented to receive updates when the [PurchaserInfo] changes.

com.revenuecat.purchases.UpgradeInfo

This object holds the information used when upgrading from another sku.