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.

.installState(forPackage:)

Summary

The installState() method is used to determine whether or not a package has been installed.

Syntax

ResourceFileManager.shared.installState(forPackage: KeymanPackage.Key) -> KeymanPackage.InstallationState

Parameters

forPackage
A KeymanPackage.Key that uniquely identifies the package.

Returns

Returns one of the following:

.none
The package has not been installed.
.downloading
KeymanEngine has been told to download the package, and the download is still pending.
.pending
The package has been downloaded and temporarily opened, but installation is still pending.
.installed
The package has been installed.

History

Added in Keyman Engine for iPhone and iPad 14.0.