AdaptyFlowEventListener
Implement this interface to respond to different events happening inside the purchase screen.
Inheritors
Functions
This callback is invoked when user interacts with some widgets on the flow.
This callback is invoked when user initiates the purchase process, providing the ability to supply an AdaptyPurchaseParameters object with additional purchase options.
This callback is invoked when the user presses the system back button (or performs the back gesture) while the flow is shown, and no on_device_back action is configured for the current screen or its navigator. A configured on_device_back takes precedence and is handled internally without invoking this callback.
This callback is invoked in case of errors that are not tied to a specific purchase or restore flow, e.g. errors during the screen rendering process.
This callback is invoked after attempting to navigate to the web payment url for a purchase.
This callback is invoked when the flow view was dismissed.
This callback is invoked when the flow view was presented.
This callback is invoked in case of errors during the products loading process.
This callback is invoked when a product was selected for purchase (by user or by system).
This callback is invoked when the purchase process fails.
This callback is invoked to inform on a canceled, successful, and pending purchase.
This callback is invoked when user initiates the purchase process.
This callback is invoked when the restore process fails.
This callback is invoked when user initiates the restore process.
This callback is invoked when a successful restore is made.
This callback is invoked when the flow requests an app-rating prompt.
This callback is invoked when the flow requests a runtime permission.