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.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0

On this page

onKeyboardChanged()

Summary

The onKeyboardChanged() event is called when another keyboard has been set.

Syntax

public void onKeyboardChanged(String newKeyboard)

Parameters

newKeyboard
New keyboard identifier as languageID_keyboardID (e.g. eng_us).

Description

Implement this method to handle keyboard changed event.

Examples

Example: Using onKeyboardChanged()

The following script illustrate the use of onKeyboardChanged():

    @Override
    public void onKeyboardChanged(String newKeyboard) {
        // handle keyboard changed event here
    }

See also