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

KMManager.onConfigurationChanged()

Summary

The onConfigurationChanged() method performs necessary actions in an InputMethodService's onConfigurationChanged().

Syntax

KMManager.onConfigurationChanged(Configuration newConfig)

Parameters

newConfig
The new device configuration.

Description

To be called from an InputMethodService's onConfigurationChanged() method.

Examples

Example: Using onConfigurationChanged()

The following script illustrate the use of onConfigurationChanged():

@Override
public void onConfigurationChanged(Configuration newConfig) {
    super.onConfigurationChanged(newConfig);
    KMManager.onConfigurationChanged(newConfig);
    // ...
}

See also