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.0

On this page

onLexicalModelInstalled()


Summary

The onLexicalModelInstalled() event is called when a lexical-model package has been installed.

Syntax

onLexicalModelInstalled(List<HashMap<String key, String value>> lexicalModelsInstalled)

Parameters

lexicalModelsInstalled

The information dictionaries of the lexical-models installed from a lexical-model package with keys and values defined as List<HashMap<String key, String value>>.

Description

Implement this method to handle lexical-model package installed event.

Examples

Example: Using onLexicalModelInstalled()

The following script illustrate the use of onLexicalModelInstalled():

    @Override
    public void onLexicalModelInstalled(List<HashMap<String key, String value>> lexicalModelsInstalled) {
        // handle lexical-model package installed event here
    }

See also