Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0 (current version)Version 16.0Version 15.0Version 14.0

On this page

You are viewing an old version of this documentation. Click here to open the current version, 18.0.

.installableResources(forLanguage:)


Summary

The KeymanPackage.installableResources(forLanguage: String) method enumerates all resources and language pairings supported by the current package for the specified language code.

Syntax

KeymanPackage.installableResources(forLanguage: String) -> [ AnyLanguageResource ]

Parameter

forLanguage: String : A BCP-47 language code.

Value

An array of InstallableKeyboard (for a KeyboardKeymanPackage) or InstallableLexicalModel (for a LexicalModelKeymanPackage) instances.

For most packages, there will only be a single entry in this array. However, note that multi-keyboard packages may support multiple keyboards for the same target language.

History

Added in Keyman Engine for iPhone and iPad 14.0.

See also