Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 17.0Version 16.0 (current version)Version 15.0Version 14.0Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0 (home page)

Index

On this page

KMManager.isKeyboardLoaded()


Summary

The isKeyboardLoaded() method returns whether the specified in-app or system keyboard is loaded.

Syntax

KMManager.isKeyboardLoaded(KeyboardType type)

Parameters

type

KeyboardType.KEYBOARD_TYPE_INAPP or KeyboardType.KEYBOARD_TYPE_SYSTEM

If type is KeyboardType.KEYBOARD_TYPE_UNDEFINED, the function will return false.

Returns

Returns true if the specified keyboard is loaded, false otherwise.

Description

Use this method to check if a keyboard is loaded and ready to use.


Examples

Example: Using isKeyboardLoaded

The following script illustrate the use of isKeyboardLoaded

if (KMManager.isKeyboardLoaded(KeyboardType.KEYBOARD_TYPE_SYSTEM) {
   // Get the keyboard info at index 0
   Keyboard keyboardInfo = KMManager.getKeyboardInfo(this, 0)
}

History

Added syntax in Keyman Engine for Android 14.0.

See also