AdaptyUIPaywallView

Represents a paywall view in the Adapty UI.

Properties

Link copied to clipboard
val id: String

The unique identifier of this paywall view instance.

Link copied to clipboard

The identifier of the paywall placement.

Link copied to clipboard

The identifier of the paywall variation.

Functions

Link copied to clipboard
suspend fun dismiss(): AdaptyResult<Unit>

Dismisses the currently presented paywall view.

Link copied to clipboard
suspend fun present(iosPresentationStyle: AdaptyUIIOSPresentationStyle = AdaptyUIIOSPresentationStyle.FULLSCREEN): AdaptyResult<Unit>

Presents the paywall view to the user.

Link copied to clipboard
suspend fun showDialog(title: String, content: String, primaryActionTitle: String, secondaryActionTitle: String? = null): AdaptyResult<AdaptyUIDialogActionType>

Presents a dialog on top of the paywall view.