public interface Keypad extends Function
Keypad
function provides support for keypad control. The keypad
typically consists of one or more keys/buttons, which can be discerned.
Different types of key presses like short and long press can typically also
be detected. Each key pressed event is followed by a key released event. It's
not possible to have two consecutive key pressed or key released events.
There is only one eventable property and no operations.
Keypad
can enumerate all supported keys in the key property metadata,
PropertyMetadata.getEnumValues(String)
.
KeypadData
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_KEY
Specifies a property name for a key from the keypad.
|
SERVICE_DESCRIPTION, SERVICE_DEVICE_UID, SERVICE_OPERATION_NAMES, SERVICE_PROPERTY_NAMES, SERVICE_REFERENCE_UIDS, SERVICE_TYPE, SERVICE_UID, SERVICE_VERSION
getOperationMetadata, getPropertyMetadata, getServiceProperty, getServicePropertyKeys
static final String PROPERTY_KEY
KeypadData
,
Constant Field ValuesCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0