[android-components](../index.md) / [mozilla.components.ui.autocomplete](index.md) / [OnKeyPreImeListener](./-on-key-pre-ime-listener.md)

# OnKeyPreImeListener

`typealias OnKeyPreImeListener = (`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `[`KeyEvent`](https://developer.android.com/reference/android/view/KeyEvent.html)`) -> `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/ui/autocomplete/src/main/java/mozilla/components/ui/autocomplete/InlineAutocompleteEditText.kt#L38)