android-components / mozilla.components.feature.app.links / RedirectDialogFragment / onConfirmRedirect

onConfirmRedirect

var onConfirmRedirect: () -> Unit (source)

A callback to trigger a download, call it when you are ready to open the linked app. For instance, a valid use case can be in confirmation dialog, after the positive button is clicked, this callback must be called.