|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UltrasonicListener
Class with declarations of callback methods for the ultrasonic sensor.
Method Summary | |
---|---|
void |
far(SensorPort port,
int level)
Called when the distance exceeds the trigger level. |
void |
near(SensorPort port,
int level)
Called when the distance falls below the trigger level. |
Method Detail |
---|
void far(SensorPort port, int level)
port
- the port where the sensor is plugged inlevel
- the current distance levelvoid near(SensorPort port, int level)
port
- the port where the sensor is plugged inlevel
- the current distance level
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |