OpenUrlAction

data class OpenUrlAction(val url: String, val openIn: AdaptyWebPresentation = AdaptyWebPresentation.EXTERNAL_BROWSER) : AdaptyUIAction

User tapped a button that opens a URL.

Constructors

Link copied to clipboard
constructor(url: String, openIn: AdaptyWebPresentation = AdaptyWebPresentation.EXTERNAL_BROWSER)

Properties

Link copied to clipboard

How the URL should be presented — in an external browser or in-app browser.

Link copied to clipboard
val url: String

The URL to open.