spiegel-keyman/ios/docs/engine/ResourceFileManager/getInstalledPackage.md
2024-10-31 10:13:00 +07:00

778 B

title
.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