java.lang.Object | |
↳ | com.datalogic.device.input.AdvancedKeyboard |
Class exposing advanced keyboard methods.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AdvancedKeyboard.ActionEventListener | Interface representing a listener of keyboard action events. | ||||||||||
AdvancedKeyboard.Configuration | Class that stores the configuration related some keyboard parameters. | ||||||||||
AdvancedKeyboard.Info | Class that stores the info related to the installed keyboard configuration. | ||||||||||
AdvancedKeyboard.LayoutChangeEventListener | Interface representing a listener of keyboard layout change events. | ||||||||||
AdvancedKeyboard.LayoutNotificationType | Enumerative representing the type of notification to use in order to represent visually the current layout in which the keyboard is. | ||||||||||
AdvancedKeyboard.MultitapEventListener | Interface representing a listener of keyboard multitap events. | ||||||||||
AdvancedKeyboard.Overlay | Class that stores the info related to a keyboard overlay configuration. | ||||||||||
AdvancedKeyboard.PersistenceType | Enumerative representing the persistence type of the installed keyboard configuration. | ||||||||||
AdvancedKeyboard.Property | Read-only properties related to the currently configured keyboard. | ||||||||||
AdvancedKeyboard.Resources | Class that stores the resources related to the installed keyboard configuration. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a listener to an action key event, registering to both press and release events.
| |||||||||||
Adds a listener to all action key events.
| |||||||||||
Adds a listener to a specific action key press or release.
| |||||||||||
Adds a listener to layout change events.
| |||||||||||
Adds a listener to multitap events.
| |||||||||||
Gets the configuration related to some keyboard parameters.
| |||||||||||
Gets the index of the current layout in which the keyboard is.
| |||||||||||
Gets the info related to the installed keyboard configuration.
| |||||||||||
Reads an integer property.
| |||||||||||
Gets the currently available keyboard overlays.
| |||||||||||
Gets the resources related to the installed keyboard configuration.
| |||||||||||
Reads a string property.
| |||||||||||
Command the installation of a new keyboard configuration, by specifying
the path to the keyboard configuration file (as exported through the
Keyboard Editor application), the desired type of persistence and the option
to clear any existing configuration (outside of the default one).
| |||||||||||
Command the installation of a keyboard overlay, by specifying the
overlay object for the keyboard to install.
| |||||||||||
Checks if the keyboard layout is currently locked, preventing any layout
change both manually and through the SDK.
| |||||||||||
Removes a listener to a specific action key event, both for press and release.
| |||||||||||
Removes a listener to a specific action key press or release.
| |||||||||||
Removes a listener to all action key events.
| |||||||||||
Removes a listener to layout change events.
| |||||||||||
Removes a listener to multitap events.
| |||||||||||
Resets the keyboard configuration to the default one.
| |||||||||||
Sets the keyboard configuration parameters.
| |||||||||||
Sets the current layout index.
| |||||||||||
Locks or unlocks the possibility for the keyboard to change its current
layout both manually or through the SDK methods.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds a listener to an action key event, registering to both press and release events.
listener | The listener to add. |
---|---|
actionId | ID of the action event to listen to. |
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Adds a listener to all action key events.
listener | The listener to add. |
---|
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Adds a listener to a specific action key press or release.
listener | The listener to add. |
---|---|
actionId | ID of the action event to listen to. |
pressed | True to listen to the pressure event, false to listen to the release event. |
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Adds a listener to layout change events.
listener | The listener to add. |
---|
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Adds a listener to multitap events.
listener | The listener to add. |
---|
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Gets the configuration related to some keyboard parameters.
ErrorManager
singleton or null if the exceptions are
disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Gets the index of the current layout in which the keyboard is.
ErrorManager
singleton or return
Integer.MIN_VALUE if exceptions are disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Gets the info related to the installed keyboard configuration.
ErrorManager
singleton or null if the exceptions are
disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Reads an integer property.
property | The property to read. |
---|
ErrorManager
singleton
or it returns
Integer.MIN_VALUE if exceptions are disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Gets the currently available keyboard overlays.
Gets the resources related to the installed keyboard configuration.
ErrorManager
singleton or null if the exceptions are
disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Reads a string property.
property | The property to read. |
---|
ErrorManager
singleton
or it returns null if exceptions are disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Command the installation of a new keyboard configuration, by specifying the path to the keyboard configuration file (as exported through the Keyboard Editor application), the desired type of persistence and the option to clear any existing configuration (outside of the default one).
path | Path of a zip file created through the use of the Keyboard Editor application. |
---|---|
persistenceType | Desired type of persistence. Be aware that the FACTORY_RESET_PERSISTENT is not allowed and will cause an installation failure. |
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Command the installation of a keyboard overlay, by specifying the
overlay object for the keyboard to install. This object must be one of the
overlays available through the getOverlays()
method.
overlay | The overlay object. |
---|---|
persistenceType | Desired type of persistence. Be aware that the FACTORY_RESET_PERSISTENT is not allowed and will cause an installation failure. |
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Checks if the keyboard layout is currently locked, preventing any layout change both manually and through the SDK.
ErrorManager
singleton or return
false if exceptions are disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Removes a listener to a specific action key event, both for press and release.
listener | The listener to remove. |
---|---|
actionId | ID of the related action key. |
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Removes a listener to a specific action key press or release.
listener | The listener to remove. |
---|---|
actionId | ID of the related action key. |
pressed | True to remove the pressure event, false to remove the release event. |
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Removes a listener to all action key events.
listener | The listener to remove. |
---|
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Removes a listener to layout change events.
listener | The listener to remove. |
---|
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Removes a listener to multitap events.
listener | The listener to remove. |
---|
ErrorManager
singleton.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Resets the keyboard configuration to the default one.
Sets the keyboard configuration parameters.
configuration | The keyboard configuration to set. |
---|
ErrorManager
singleton or returns false if the exceptions
are disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Sets the current layout index. This operation will be done in a moment in which all keyboard keys are released.
layoutIndex | The layout index. |
---|
ErrorManager
singleton or return
false if exceptions are disabled.DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|
Locks or unlocks the possibility for the keyboard to change its current layout both manually or through the SDK methods.
layoutLocked | True to lock the layout, false to unlock it. |
---|
DeviceException | in case of error, when exceptions
are enabled through the ErrorManager singleton.
|
---|