Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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.