to top
Datalogic APIs
public class

KeyboardWedge

extends PropertyGroup
java.lang.Object
   ↳ com.datalogic.device.configuration.PropertyGroup
     ↳ com.datalogic.decode.configuration.KeyboardWedge

Class Overview

KeyboardWedge is the class that configures the Decode Wedge capability with the keystroke mode.

Summary

Fields
public BooleanProperty enable enable enables the keystroke mode.
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.
public EnumProperty<KeyWedgeMode> wedgeMode wedgeMode indicates the method by which the KeyboardWedge operates.
Public Constructors
KeyboardWedge(PropertyGetter editor)
This is the constructor of KeyboardWedge.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.PropertyGroup
From class java.lang.Object

Fields

public BooleanProperty enable

Added in revision 1

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

Added in revision 1

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

Added in revision 3

wedgeMode indicates the method by which the KeyboardWedge operates. The default value is TEXT_INJECTION.

Public Constructors

public KeyboardWedge (PropertyGetter editor)

Added in revision 1

This is the constructor of KeyboardWedge. All options are initialized by editor.

Parameters
editor A PropertyGetter used to load the current barcode family.