PurchaseCallback

interface PurchaseCallback : PurchaseErrorListener

Functions

Link copied to clipboard
abstract fun onCompleted(purchase: PurchaseDetails, purchaserInfo: PurchaserInfo)

Will be called after the purchase has completed

Link copied to clipboard
abstract fun onError(@NonNull error: PurchasesError, userCancelled: Boolean)

Sources

Link copied to clipboard