AdaptyUiObserverModeHandler

If you use Adapty in Observer mode, implement this interface to handle purchases and restores on your own.

Types

Link copied to clipboard
Link copied to clipboard
fun interface PurchaseStartCallback
Link copied to clipboard
fun interface RestoreFinishCallback
Link copied to clipboard
fun interface RestoreHandler

A handler for custom restore logic in Observer Mode.

Link copied to clipboard
fun interface RestoreStartCallback

Functions

Link copied to clipboard

Override to provide custom restore handling. Return null (default) to use SDK's default restore behavior.

Link copied to clipboard

This callback is invoked when the user initiates a purchase. You can trigger your custom purchase flow in response to this callback, read more.