[android-components](../../index.md) / [mozilla.components.ui.doorhanger](../index.md) / [Doorhanger](index.md) / [dismiss](./dismiss.md)

# dismiss

`fun dismiss(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/ui/doorhanger/src/main/java/mozilla/components/ui/doorhanger/Doorhanger.kt#L50)

Dismiss this doorhanger if it is currently showing.

