[android-components](../../../index.md) / [mozilla.components.concept.engine.prompt](../../index.md) / [PromptRequest](../index.md) / [Popup](index.md) / [onDeny](./on-deny.md)

# onDeny

`val onDeny: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/prompt/PromptRequest.kt#L174)

callback to notify that the user doesn't want to open the [targetUri](target-uri.md).

### Property

`onDeny` - callback to notify that the user doesn't want to open the [targetUri](target-uri.md).