public class KeyboardWedge extends PropertyGroup
KeyboardWedge is the class that configures the Decode Wedge
capability with the keystroke mode.| Modifier and Type | Field and Description |
|---|---|
BooleanProperty |
enable
enable enables the keystroke mode. |
BooleanProperty |
onlyOnFocus
onlyOnFocus enables the input of the keystrokes only in input areas with
active focus and an IME active, such as a touch keyboard. |
EnumProperty<KeyWedgeMode> |
wedgeMode
wedgeMode indicates the method by which the KeyboardWedge
operates. |
| Constructor and Description |
|---|
KeyboardWedge(PropertyGetter editor)
This is the constructor of KeyboardWedge.
|
getGroups, getId, getName, getProperties, getPropertyById, getPropertyByName, getPropertyGroupById, getPropertyGroupByName, isFullySupported, isSupported, load, setToDefault, storepublic BooleanProperty enable
enable enables the keystroke mode. This means that the label
is sent to the foreground application in the form of key events.public BooleanProperty onlyOnFocus
onlyOnFocus enables the input of the keystrokes only in input areas with
active focus and an IME active, such as a touch keyboard. This means that the label
will be sent to the foreground application in the form of key events only when previous
conditions will be met. Instead, set to false, it will emulate keystrokes directly into the
foreground activity. Be aware, keeping this deactivated could lead to undesired behaviors.public EnumProperty<KeyWedgeMode> wedgeMode
wedgeMode indicates the method by which the KeyboardWedge
operates. The default value is KeyWedgeMode.TEXT_INJECTION.public KeyboardWedge(PropertyGetter editor)
editor - A PropertyGetter used to load the current barcode family.