chrome.virtualKeyboard
Description: |
The chrome.virtualKeyboard API is a kiosk only API used to
configure virtual keyboard layout and behavior in kiosk sessions.
|
Availability: |
Since Chrome 58.
|
Permissions: |
"virtualKeyboard"
|
Summary
Types | |
---|---|
FeatureRestrictions | |
Methods | |
restrictFeatures −
chrome.virtualKeyboard.restrictFeatures( FeatureRestrictions restrictions, function callback)
|
Types
FeatureRestrictions
properties | ||
---|---|---|
boolean | (optional) autoCompleteEnabled |
Whether virtual keyboards can provide auto-complete. |
boolean | (optional) autoCorrectEnabled |
Whether virtual keyboards can provide auto-correct. |
boolean | (optional) handwritingEnabled |
Whether virtual keyboards can provide input via handwriting recognition. |
boolean | (optional) spellCheckEnabled |
Whether virtual keyboards can provide spell-check. |
boolean | (optional) voiceInputEnabled |
Whether virtual keyboards can provide voice input. |
Methods
restrictFeatures
chrome.virtualKeyboard.restrictFeatures( FeatureRestrictions restrictions, function callback)
Sets restrictions on features provided by the virtual keyboard.
Parameters | |||||
---|---|---|---|---|---|
FeatureRestrictions | restrictions |
the preferences to enabled/disabled virtual keyboard features. |
|||
function | (optional) callback |
Invoked with the values which were updated. If you specify the callback parameter, it should be a function that looks like this: function( FeatureRestrictions update) {...};
|