ProductChangeListener

interface ProductChangeListener : PurchaseErrorListener

Interface to be implemented when upgrading or downgrading a purchase.

Functions

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