Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

Manager class

Summary

The Manager class provides methods for controlling Keyman Engine

Syntax

Manager.shared.methodName()

Description

The Manager is the core class which provides most of the methods and constants you will need to develop your apps with Keyman Engine

Methods

addKeyboard()
adds a keyboard into the keyboards list
canAddNewKeyboards
returns whether adding a new keyboard is enabled in the keyboard picker menu
currentKeyboard()
returns info for the currently selected keyboard
dismissKeyboardPicker()
hides the list of keyboards
downloadKeyboard()
asynchronously fetches the keyboard files
fontNameForKeyboard()
returns the font name for the given keyboard ID and language ID
hideKeyboard()
hides the in-app OSK
keyboardHeight()
returns the height of the keyboard
parseKMP()
install the keyboards from a KMP keyboard package
preloadFiles()
preloads the JS and font files required for a keyboard
removeKeyboard()
removes the keyboard at specified position from the keyboards list
setKeyboard()
sets the keyboard to be used
showKeyboard()
show the in-app OSK
showKeyboardPicker()
displays a list of available keyboards and allows a user to add/remove keyboards
stateForKeyboard()
returns the current state for a keyboard
switchToNextKeyboard()
loads the next available keyboard in keyboards list