android-components / mozilla.components.feature.prompts / PromptFeature / onConfirm

onConfirm

fun onConfirm(sessionId: String, value: Any?): Unit (source)

Invoked when the user confirms the action on the dialog. This consumes the PromptFeature value from the SessionState indicated by sessionId.

Parameters

sessionId - that requested to show the dialog.

value - an optional value provided by the dialog as a result of confirming the action.