Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 15.0Version 14.0 (current version)Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0 (home page)

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