showDialog
suspend fun showDialog(title: String, content: String, primaryActionTitle: String, secondaryActionTitle: String? = null): AdaptyResult<AdaptyUIDialogActionType>
Presents a dialog on top of the onboarding view.
Return
AdaptyResult with AdaptyUIDialogActionType indicating which action the user selected.
Parameters
title
The dialog's title.
content
Descriptive text providing details about the dialog.
primaryActionTitle
The title for the primary action button.
secondaryActionTitle
Optional title for a secondary action button.