PurchaseHandler

class PurchaseHandler(purchasingServiceProvider: PurchasingServiceProvider, applicationContext: Context) : PurchaseResponseListener

Constructors

Link copied to clipboard
constructor(purchasingServiceProvider: PurchasingServiceProvider, applicationContext: Context)

Functions

Link copied to clipboard
open override fun onProductDataResponse(response: ProductDataResponse)
Link copied to clipboard
open override fun onPurchaseResponse(response: PurchaseResponse)
Link copied to clipboard
open override fun onPurchaseUpdatesResponse(response: PurchaseUpdatesResponse)
Link copied to clipboard
open override fun onUserDataResponse(response: UserDataResponse)
Link copied to clipboard
open override fun purchase(mainHandler: Handler, activity: Activity, appUserID: String, storeProduct: StoreProduct, presentedOfferingIdentifier: String?, onSuccess: (Receipt, UserData) -> Unit, onError: (PurchasesError) -> Unit)