|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface interfaceSensor
The safehome.device.inferfaceSensor
interface defines
a common interface for motion detectors and window/door sensors.
Method Summary | |
---|---|
void |
disable()
Disables the sensor. |
void |
enable()
Enables the sensor to detect intrusion. |
int |
getID()
Returns a sensor ID. |
boolean |
isEnabled()
Tests the sensor is enabled or not. |
boolean |
read()
Reads the status of the sensor. |
Method Detail |
---|
int getID()
boolean read()
void enable()
void disable()
boolean isEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |