public void add ( SensorListener sensorListener ) { if ( ! listeners . contains ( sensorListener ) ) { listeners . add ( sensorListener ) ; if ( ! isEnabled ( ) ) { setEnabled ( true ) ; } } }
Adds a sensor listener and the sensor is enabled if it was disabled in order to feed data to the listener