android-components / mozilla.components.concept.engine.prompt / PromptRequest / Confirm / <init>

<init>

Confirm(title: String, message: String, hasShownManyDialogs: Boolean = false, positiveButtonTitle: String = "", negativeButtonTitle: String = "", neutralButtonTitle: String = "", onConfirmPositiveButton: (Boolean) -> Unit, onConfirmNegativeButton: (Boolean) -> Unit, onConfirmNeutralButton: (Boolean) -> Unit, onDismiss: () -> Unit)

Value type that represents a request for showing a <a href=ā€¯https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm>confirm prompt.

The prompt can have up to three buttons, they could be positive, negative and neutral.