com.sensorcon.sensordrone
Interface DroneStatusListener

All Superinterfaces:
java.util.EventListener

public interface DroneStatusListener
extends java.util.EventListener

The DroneStatusListener is used to perform actions when the Sensordrone has successfully checked a status (i.e. is a particular sensor enabled or disabled). It has a block of numerous status events to be triggered. If you only want to work with a few particular events, feel free to check out DroneEventHandler

Since:
1.1.1
See Also:
DroneEventHandler

Method Summary
 void adcStatus(DroneEventObject status)
          Things to do when the enable/disable status of the ADC sensor has been checked.
 void altitudeStatus(DroneEventObject status)
          Things to do when the enable/disable status of the Altitude (pseudo) sensor has been checked.
 void batteryVoltageStatus(DroneEventObject status)
          Things to do when the Sensordrone's battery voltage has been checked.
 void capacitanceStatus(DroneEventObject status)
          Things to do when the enable/disable status of the Capacitance sensor has been checked.
 void chargingStatus(DroneEventObject status)
          Things to do when the Sensordrone's charging status has been checked.
 void customStatus(DroneEventObject status)
          A custom status for you to use with this listener.
 void humidityStatus(DroneEventObject status)
          Things to do when the enable/disable status of the Humidity sensor has been checked.
 void irStatus(DroneEventObject status)
          Things to do when the enable/disable status of the IR Thermometer sensor has been checked.
 void lowBatteryStatus(DroneEventObject status)
          Things to do when the Sensordrone's battery is low (below 3.25 Volts).
 void oxidizingGasStatus(DroneEventObject status)
          Things to do when the enable/disable status of the oxidizing gas sensor has been checked.
 void precisionGasStatus(DroneEventObject status)
          Things to do when the enable/disable status of the Precision Gas sensor has been checked
 void pressureStatus(DroneEventObject status)
          Things to do when the enable/disable status of the Pressure sensor has been checked.
 void reducingGasStatus(DroneEventObject status)
          Things to do when the enable/disable status of the reducing gas sensor has been checked.
 void rgbcStatus(DroneEventObject status)
          Things to do when the enable/disable status of the RGBC color sensor has been checked.
 void temperatureStatus(DroneEventObject status)
          Things to do when the enable/disable status of the Temperature sensor has been checked.
 void unknownStatus(DroneEventObject status)
          This is only used if the status event is unknown (i.e.
 

Method Detail

capacitanceStatus

void capacitanceStatus(DroneEventObject status)
Things to do when the enable/disable status of the Capacitance sensor has been checked.

Parameters:
status -
Since:
1.1.1

adcStatus

void adcStatus(DroneEventObject status)
Things to do when the enable/disable status of the ADC sensor has been checked.

Parameters:
status -
Since:
1.1.1

rgbcStatus

void rgbcStatus(DroneEventObject status)
Things to do when the enable/disable status of the RGBC color sensor has been checked.

Parameters:
status -
Since:
1.1.1

pressureStatus

void pressureStatus(DroneEventObject status)
Things to do when the enable/disable status of the Pressure sensor has been checked.

Parameters:
status -
Since:
1.1.1

altitudeStatus

void altitudeStatus(DroneEventObject status)
Things to do when the enable/disable status of the Altitude (pseudo) sensor has been checked.

Parameters:
status -
Since:
1.1.1

irStatus

void irStatus(DroneEventObject status)
Things to do when the enable/disable status of the IR Thermometer sensor has been checked.

Parameters:
status -
Since:
1.1.1

humidityStatus

void humidityStatus(DroneEventObject status)
Things to do when the enable/disable status of the Humidity sensor has been checked.

Parameters:
status -
Since:
1.1.1

temperatureStatus

void temperatureStatus(DroneEventObject status)
Things to do when the enable/disable status of the Temperature sensor has been checked.

Parameters:
status -
Since:
1.1.1

oxidizingGasStatus

void oxidizingGasStatus(DroneEventObject status)
Things to do when the enable/disable status of the oxidizing gas sensor has been checked.

Parameters:
status -
Since:
1.1.1

reducingGasStatus

void reducingGasStatus(DroneEventObject status)
Things to do when the enable/disable status of the reducing gas sensor has been checked.

Parameters:
status -
Since:
1.1.1

precisionGasStatus

void precisionGasStatus(DroneEventObject status)
Things to do when the enable/disable status of the Precision Gas sensor has been checked

Parameters:
status -
Since:
1.1.1

batteryVoltageStatus

void batteryVoltageStatus(DroneEventObject status)
Things to do when the Sensordrone's battery voltage has been checked. This method will also trigger the lowBatteryStatus event if the battery voltage is below 3.25 Volts.

Parameters:
status -
Since:
1.1.1

chargingStatus

void chargingStatus(DroneEventObject status)
Things to do when the Sensordrone's charging status has been checked.

Parameters:
status -
Since:
1.1.1

customStatus

void customStatus(DroneEventObject status)
A custom status for you to use with this listener.

Parameters:
status -
Since:
1.1.1

unknownStatus

void unknownStatus(DroneEventObject status)
This is only used if the status event is unknown (i.e. a typo, or other error). Can be useful for checking if customStatus is working properly

Parameters:
status -
Since:
1.1.1

lowBatteryStatus

void lowBatteryStatus(DroneEventObject status)
Things to do when the Sensordrone's battery is low (below 3.25 Volts). This event is currently triggered by the measureBatteryVoltage method and the setLED methods.

Parameters:
status -
Since:
1.1.1