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 and properties for controlling Keyman Engine

Description

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

Properties

spacebarText

controls the default text pattern shown on the spacebar

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

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