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

.getInstalledPackage(for:)

Summary

The getInstalledPackage<Resource: LanguageResource>() method is used to install resources from opened package files.

Syntax

ResourceFileManager.shared.getInstalledPackage<Resource: LanguageResource>(for: Resource)

Parameters

for
Either a InstalledKeyboard or a InstalledLexicalModel that has been previously installed.

Returns

The package, as currently installed. May return nil if the specified resource is not currently installed.

History

Added in Keyman Engine for iPhone and iPad 14.0.

See also

installedPackages: [KeymanPackage]
Returns an array of all currently-installed packages.