|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SoundListener
Class with declaration of callback methods for the sound sensor.
| Method Summary | |
|---|---|
void |
loud(SensorPort port,
int level)
Called when the sound becomes louder than the trigger level. |
void |
quiet(SensorPort port,
int level)
Called when the sound becomes lower than the trigger level. |
| Method Detail |
|---|
void loud(SensorPort port,
int level)
port - the port where the sensor is plugged inlevel - the current sound level
void quiet(SensorPort port,
int level)
port - the port where the sensor is plugged inlevel - the current sound level
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||