spiegel-keyman/android/docs/engine/KMManager/getDefaultKeyboard.md
2024-10-31 10:08:17 +07:00

800 B

title
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