LayoutType

enum LayoutType

An enum describing the keyboard layout used for obtaining the input text contexts of the PredictiveService methods.

Summary

Enumeration Cases
custom(keys: [LayoutKey]) Use a layout initialized from an array of LayoutKeys.
embedded(name: String?) Use one of the layouts embedded in the language file.

Enumeration Cases

downloading

case custom(keys: [LayoutKey])

Use a layout initialized from an array of LayoutKeys.

finished

case embedded(name: String? = nil)

Use one of the layouts embedded in the language file. The associated value should be one included in availableLayouts of the language file. Passing nil uses the defaultLayout.


If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on June 12, 2023