PaywallListener
interface PaywallListener
Provide an implementation of this interface to PaywallOptions to listen for Paywall events. Every function has a default no-op implementation.
Functions
Link copied to clipboard
Callback that gets called when a purchase is cancelled.
Link copied to clipboard
open fun onPurchaseCompleted(customerInfo: <Error class: unknown class>, storeTransaction: <Error class: unknown class>)
Callback that gets called when a purchase is completed.
Link copied to clipboard
Callback that gets called when a purchase fails.
Link copied to clipboard
Callback that gets called when a purchase is started.
Link copied to clipboard
Callback that gets called when a restore is completed. Note that this may get called even if no entitlements have been granted in case no relevant purchases were found.
Link copied to clipboard
Callback that gets called when a restore fails.
Link copied to clipboard
Callback that gets called when a restore is started.