Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 16.0 (current version)Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0

On this page

Manager.currentKeyboard

Summary

The currentKeyboard method returns info for the current keyboard, if its set.

Syntax

Manager.currentKeyboard

Returns

Returns the keyboard information InstallableKeyboard.

Description

Use this method to get the current keyboard information.

Examples

Example: Using currentKeyboard

The following script illustrates the use of currentKeyboard:

    let keyboardInfo = Manager.shared.currentKeyboard
    let currentKeyboardId = keyboardInfo?.id ?? Defaults.keyboard.id