spiegel-keyman/android/docs/engine/KeyboardEventHandler/index.md
2024-10-31 10:08:17 +07:00

38 lines
1.1 KiB
Markdown

---
title: KeyboardEventHandler class
---
## Description
The KeyboardEventHandler class provides keyboard events and methods to
notify registered listeners on keyboard and lexical-model events.
## Events
### OnKeyboardEventListener Interface
[`onKeyboardLoaded()`](onKeyboardLoaded)
: is called when the keyboard has been loaded for the first time
[`onKeyboardChanged()`](onKeyboardChanged)
: is called when another keyboard has been set
[`onKeyboardShown()`](onKeyboardShown)
: is called when the keyboard has been shown
[`onKeyboardDismissed()`](onKeyboardDismissed)
: is called when the keyboard has been dismissed
### OnKeyboardDownloadEventListener Interface
[`onKeyboardDownloadStarted()`](onKeyboardDownloadStarted)
: is called when a keyboard download has started
[`onKeyboardDownloadFinished()`](onKeyboardDownloadFinished)
: is called when a keyboard download has finished
[`onPackageInstalled()`](onPackageInstalled)
: is called when a keyboard package has been installed
[`onLexicalModelInstalled()`](onLexicalModelInstalled)
: is called when a lexical-model package has been installed