public class SoundAdapter extends java.lang.Object implements SoundListener
| Constructor and Description | 
|---|
| SoundAdapter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | loud(SensorPort port,
    int level)Empty method called when the sound becomes louder than the trigger level. | 
| void | quiet(SensorPort port,
     int level)Empty method called when the sound becomes lower than the trigger level. | 
public void loud(SensorPort port, int level)
loud in interface SoundListenerport - the port where the sensor is plugged inlevel - the current sound levelpublic void quiet(SensorPort port, int level)
quiet in interface SoundListenerport - the port where the sensor is plugged inlevel - the current sound level