Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 13.0Version 12.0Version 11.0Version 10.0

On this page

You are viewing documentation of version 10.0, which is not included in the latest version. Click here to open the index page for version 18.0.

Manager.parseKMP()

Summary

The parseKMP() method installs a keyboard via ad-hoc distribution at the folder URL.

Syntax

Manager.parseKMP(folder: URL)

Parameters

folder
URL to the KMP keyboard package.

Description

This syntax can be used for installing a KMP keyboard package.

Example 1: Using parseKMP()

The following script illustrates the use of parseKMP():

let adhocDir = _adhocDirectory {
  self.window?.rootViewController?.dismiss(animated: true, completion: {
  do {
    try Manager.shared.parseKMP(adhocDir)
      self.showSimpleAlert(title: "Success", message: "All keyboards installed successfully.")
    } catch {
      self.showKMPError(error as! KMPError)
  }
}