MakePurchaseListener

interface MakePurchaseListener : PurchaseErrorListener

Interface to be implemented when making purchases.

Functions

Link copied to clipboard
abstract fun onCompleted(@NonNull purchase: Purchase, @NonNull purchaserInfo: PurchaserInfo)
Will be called after the purchase has completed
Link copied to clipboard
abstract fun onError(@NonNull error: PurchasesError, userCancelled: Boolean)
Will be called after the product change has completed with error