org.android.activityminer.app.recording
Class GenericRecordingActivityForSensorObservations.StopTask

Package class diagram package GenericRecordingActivityForSensorObservations.StopTask
java.lang.Object
  extended by org.android.activityminer.app.recording.GenericRecordingActivityForSensorObservations.StopTask
All Implemented Interfaces:
Runnable
Enclosing class:
GenericRecordingActivityForSensorObservations<T extends Enum<T> & Dimensions>

private class GenericRecordingActivityForSensorObservations.StopTask
extends Object
implements Runnable

The automatic stop task.


Field Summary
private  long delay
          The maximum duration for the recording.
 
Constructor Summary
GenericRecordingActivityForSensorObservations.StopTask(long delay)
          Constructor
 
Method Summary
 long getDelay()
          Getter for the delay
 void run()
           
 void setDelay(long delay)
          Setter for the delay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delay

private long delay
The maximum duration for the recording.

Constructor Detail

GenericRecordingActivityForSensorObservations.StopTask

public GenericRecordingActivityForSensorObservations.StopTask(long delay)
Constructor

Parameters:
delay - the delay
Method Detail

getDelay

public long getDelay()
Getter for the delay

Returns:
the delay

setDelay

public void setDelay(long delay)
Setter for the delay

Parameters:
delay - the delay to set

run

public void run()
Specified by:
run in interface Runnable