org.android.activityminer.logic.timeseries
Interface SensorScanner

Package class diagram package SensorScanner
All Superinterfaces:
ActivatableComponent
All Known Subinterfaces:
ObservableSensorScanner<T,U>
All Known Implementing Classes:
AbstractObservableSensorScanner, ObservableAccSensorScanner, ObservableSensorScannerImpl

public interface SensorScanner
extends ActivatableComponent

Interface for sensor scanner types to be associate with a sensor observation task, which does call the doScan(Long) Method periodically.


Method Summary
 void delegateNotify(SampleGapErrorEvent data)
          Does delegate the notification about external recognition of sample gap error events to the accelerometer source.
 boolean doScan(Long ts)
          Method to trigger the scanning of connected data sources.
 
Methods inherited from interface org.android.activityminer.logic.util.ActivatableComponent
isActive, setActivationState
 

Method Detail

doScan

boolean doScan(Long ts)
Method to trigger the scanning of connected data sources.

Parameters:
ts - the requested time stamp
Returns:
true if a sample was taken, false otherwise

delegateNotify

void delegateNotify(SampleGapErrorEvent data)
Does delegate the notification about external recognition of sample gap error events to the accelerometer source.

Parameters:
data - the sample gap error event notifications to delegate