Package org.osgi.service.dal.functions
Interface Keypad
-
- All Superinterfaces:
Function
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)
.- See Also:
KeypadData
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROPERTY_KEY
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 Detail
-
PROPERTY_KEY
static final java.lang.String PROPERTY_KEY
Specifies a property name for a key from the keypad. The property is eventable.- See Also:
KeypadData
, Constant Field Values
-
-