|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for event listeners interested in receiving the previous and current sensor values.
Note that a sensor must be active for a listener to receive notifications.
Method Summary | |
void |
stateChanged(int oldValue,
int newValue)
Called when the canonical value of a sensor changes. |
Method Detail |
public void stateChanged(int oldValue, int newValue)
oldValue
- The old sensor value.newValue
- The new sensor value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |