API object - Keyboard
The Keyboard object contains the following members:
namestring- Name of keyboard
idstring- ID of the keyboard, always matches the filename of the keyboard.
filenamestring- Name of the keyboard .js file which should be combined with
options.keyboardBaseUri. defaultbooleanoptionaltrueif the keyboard is the recommended default for the language.falseif absent.rtlbooleanoptionaltrueif the keyboard targets a right-to-left script.falseif absent.lastModifiedstring|number- Date the keyboard was last updated.
fileSizenumber- Size of the keyboard file, in bytes.
versionstring- Version number of the keyboard.
languagesArrayoptional- An array of
Languageobjects linked to the keyboard. fontObjectoptionalFontobject describing font for input fields (and OSK, ifoskFontis not present). Only present when aKeyboardobject is a child of aLanguageobject.oskFontObjectoptionalFontobject describing font for the OSK. Only present when aKeyboardobject is a child of aLanguageobject.exampleObjectoptionalExampleobject. Only present when aKeyboardobject is the child of aLanguageobject.desktopKeyboardIDnumberoptional- The numerical ID of the corresponding numerical ID for the desktop version of the keyboard.
devicesObjectoptional- An object with the three properties
phone,tablet, anddesktop. Each property holds a numerical value detailing the level of support specialized toward each class of device. Please refer to the Developer Keyboard Catalogue page for more details.
Example case
The following is extracted from https://api.keyman.com/cloud/4.0/keyboards/hebrew.
"keyboard": {
"id": "hebrew",
"name": "Hebrew",
"filename": "hebrew\/1.0\/hebrew-1.0.js",
"version": "1.0",
"lastModified": "2014-03-21T16:22:19+11:00",
"rtl": true,
"devices": {
"phone": 1,
"tablet": 1,
"desktop": 2
},
"languages": [
{
"id": "heb",
"name": "Hebrew",
"region": 3
}
]
}


