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

onCancel

fun onCancel(sessionId: String): Unit (source)

Invoked when a dialog is dismissed. This consumes the PromptFeature value from the session indicated by sessionId.

Parameters

sessionId - this is the id of the session which requested the prompt.