to top
Datalogic APIs
Added in revision 22
public static interface

AdvancedKeyboard.ActionEventListener

com.datalogic.device.input.AdvancedKeyboard.ActionEventListener

Class Overview

Interface representing a listener of keyboard action events. It can be registered and unregistered using methods in the the AdvancedKeyboard class.

Summary

Public Methods
abstract void onAction(int actionId, boolean pressed)
Method called when a specific action key has been pressed / released.

Public Methods

public abstract void onAction (int actionId, boolean pressed)

Added in revision 22

Method called when a specific action key has been pressed / released.

Parameters
actionId The ID associated with the action key.
pressed True if the action key has been pressed, false if it has been released.