Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0

Index

On this page

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

KMManager.getDefaultKeyboard()


Summary

The getDefaultKeyboard() method returns the keyboard information for the fallback keyboard.

Syntax

KMManager.getDefaultKeyboard()

Returns

Returns Keyboard type for the fallback keyboard. If not specified, this defaults to keyboard information for sil_euro_latin.

Description

The getDefaultKeyboard() method returns the keyboard information for the fallback keyboard. If Keyman Engine has issues with a current keyboard, KMManager will switch to this fallback keyboard.

Examples

Example: Using getDefaultKeyboard()

The following script illustrates the use of getDefaultKeyboard():

    Keyboard kbd = KMManager.getDefaultKeyboard();

See also