Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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