Package org.osgi.service.dal.functions
Interface Keypad
- All Superinterfaces:
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)
.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Specifies a property name for a key from the keypad.Fields inherited from interface org.osgi.service.dal.Function
SERVICE_DESCRIPTION, SERVICE_DEVICE_UID, SERVICE_OPERATION_NAMES, SERVICE_PROPERTY_NAMES, SERVICE_REFERENCE_UIDS, SERVICE_TYPE, SERVICE_UID, SERVICE_VERSION
-
Method Summary
Methods inherited from interface org.osgi.service.dal.Function
getOperationMetadata, getPropertyMetadata, getServiceProperty, getServicePropertyKeys
-
Field Details
-
PROPERTY_KEY
Specifies a property name for a key from the keypad. The property is eventable.- See Also:
-