public interface MultiLevelSensor extends Function
MultiLevelSensor function provides multi-level sensor monitoring. It
reports its state when an important event is available. The eventable state
is accessible with getData() getter. There are no operations.
The sensor type can be:
Types.LIGHTTypes.TEMPERATURETypes.FLOWTypes.PRESSURETypes.HUMIDITYTypes.GASTypes.SMOKETypes.DOORTypes.WINDOWTypes.LIQUIDTypes.POWERTypes.NOISINESSTypes.RAINTypesLevelData| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_DATA
Specifies the state property name.
|
SERVICE_DESCRIPTION, SERVICE_DEVICE_UID, SERVICE_OPERATION_NAMES, SERVICE_PROPERTY_NAMES, SERVICE_REFERENCE_UIDS, SERVICE_TYPE, SERVICE_UID, SERVICE_VERSION| Modifier and Type | Method and Description |
|---|---|
LevelData |
getData()
Returns the
MultiLevelSensor current state. |
getOperationMetadata, getPropertyMetadata, getServiceProperty, getServicePropertyKeysstatic final String PROPERTY_DATA
getData() getter.LevelData,
Constant Field ValuesLevelData getData() throws DeviceException
MultiLevelSensor current state. It's a getter method
for PROPERTY_DATA property.MultiLevelSensor current state.IllegalStateException - If this function service object has already
been unregistered.DeviceException - If an operation error is available.LevelDataCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0