Top Description Fields Methods
org.osgi.service.dal.functions

public Interface Keypad

extends Function
Imports
org.osgi.service.dal.Function, .PropertyMetadata, org.osgi.service.dal.functions.data.KeypadData

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

Modifier and TypeField and Description
public static final String
PROPERTY_KEY

Specifies a property name for a key from the keypad.

Inherited from org.osgi.service.dal.Function:
SERVICE_DESCRIPTIONSERVICE_DEVICE_UIDSERVICE_OPERATION_NAMESSERVICE_PROPERTY_NAMESSERVICE_REFERENCE_UIDSSERVICE_TYPESERVICE_UIDSERVICE_VERSION

Method Summary

Inherited from org.osgi.service.dal.Function:
getOperationMetadatagetPropertyMetadatagetServicePropertygetServicePropertyKeys

Field Detail

PROPERTY_KEYback to summary
public static final String PROPERTY_KEY

Specifies a property name for a key from the keypad. The property is eventable.

See Also
KeypadData