public class SoundSensor extends RawSensor
listeners, listenersWithRange, value| Constructor and Description |
|---|
SoundSensor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSoundPressure()
Tells the sound pressure measure in percent by the sensor.
|
protected void |
setValue(int value)
Set the value of the sensor, listeners will be triggered when updating this value
to a different value than the previous one
|
addListener, addListenerWithRange, getValue, onChange, onChange