Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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

On this page

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
downloadLexicalModel()
asynchronously fetches the dictionary 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 resources from a KMP package for keyboards or dictionaries
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 of availability for a keyboard
stateForLexicalModel()
returns the current state of availability for a dictionary
switchToNextKeyboard()
loads the next available keyboard in keyboards list