purchases / com.revenuecat.purchases.interfaces / PurchaseCompletedListener

PurchaseCompletedListener

interface PurchaseCompletedListener

Interface to be implemented when making purchases.

Functions

onCompleted

abstract fun onCompleted(sku: String, purchaserInfo: PurchaserInfo): Unit

Will be called after the purchase has completed

onError

abstract fun onError(error: PurchasesError): Unit

Will be called after the purchase has completed with error