onAwaitingPurchaseParams

This callback is invoked when user initiates the purchase process, providing the ability to supply an AdaptyPurchaseParameters object with additional purchase options.

Parameters

product

An AdaptyPaywallProduct of the purchase.

context

A UI Context within which the event occurred.

onPurchaseParamsReceived

Call onPurchaseParamsReceived(...) either with AdaptyPurchaseParameters instance if you want to provide additional purchase options — e.g., if the new subscription should replace a currently active subscription or if you want to indicate whether the price is personalized (read more) — or with AdaptyPurchaseParameters.Empty as the default value.