com.sensorcon.sensordrone.android.tools
Class DroneQSStreamer

java.lang.Object
  extended by com.sensorcon.sensordrone.android.tools.DroneQSStreamer
All Implemented Interfaces:
java.lang.Runnable

public class DroneQSStreamer
extends java.lang.Object
implements java.lang.Runnable

This is an interface that takes a Drone QuickSystem, whose enable/disable can be controlled. This is useful for triggering a measurement, and then on the onMeasure() event, calling it again automatically (delay can be controlled from the object's streamHandler). (Basically an on/off runnable for used with QuickSystem of Drone())


Field Summary
 Handler streamHandler
           
 
Constructor Summary
DroneQSStreamer(CoreDrone aDrone, int qsInt)
           
 
Method Summary
 void disable()
           
 void enable()
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

streamHandler

public Handler streamHandler
Constructor Detail

DroneQSStreamer

public DroneQSStreamer(CoreDrone aDrone,
                       int qsInt)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

enable

public void enable()

disable

public void disable()