mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
800 B
800 B
| title |
|---|
| onKeyboardChanged() |
Summary
The onKeyboardChanged() event is called when another keyboard has
been set.
Syntax
public void onKeyboardChanged(String newKeyboard)
Parameters
newKeyboard- New keyboard identifier as languageID_keyboardID (e.g. eng_us).
Description
Implement this method to handle keyboard changed event.
Examples
Example: Using onKeyboardChanged()
The following script illustrate the use of onKeyboardChanged():
@Override
public void onKeyboardChanged(String newKeyboard) {
// handle keyboard changed event here
}