mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
917 B
917 B
| title |
|---|
| KMManager.sendOptionsToKeyboard() |
Summary
The sendOptionsToKeyboard() method sends options like longpress delay to the KeymanWeb keyboard.
Syntax
KMManager.sendOptionsToKeyboard()
Description
Use this method to update options in the KeymanWeb keyboard.
- Number of milliseconds to trigger a longpress gesture
This method requires a keyboard to be loaded for the values to take effect.
Examples
Example: Using sendOptionsToKeyboard()
The following code illustrates the use of sendOptionsToKeyboard():
int currentDelayTimeMS = 250;
// Store currentDelayTimeMS
KMManager.setLongpressDelay(currentDelayTimeMS);
// Apply the keyboard options
KMManager.sendOptionsToKeyboard();
History
Keyman Engine for Android 18.0: New function.