AdaptyUIFlowView

data class AdaptyUIFlowView

Represents a flow view in the Adapty UI (cross_platform 4.0.0).

Properties

Link copied to clipboard
val id: String

The unique identifier of this flow view instance.

Link copied to clipboard
val locale: String? = null

The localization the view was actually built with: the locale passed to createFlowView when the flow has that localization, en when no locale was passed and the flow has en, and the flow's default localization in every other case.

Link copied to clipboard

The identifier of the placement.

Link copied to clipboard

The identifier of the flow variation.

Functions

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

Dismisses the currently presented flow view.

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

Presents the flow 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 flow view.