Skip to content

Class MeasurementListener

Il Kadyrov edited this page Nov 5, 2020 · 3 revisions

MeasurementListener provides a callback to be invoked when MeasurementManager updates the sensors and signals data. The callback is invoked in the UI thread.

Referenced from: MeasurementManager, SensorMeasurement, SignalMeasurement.

public class MeasurementListener
{
  public abstract void onSensorMeasurementDetected(HashMap<SensorType, SensorMeasurement> sensors);
  public abstract void onSignalMeasurementDetected(HashMap<String, SignalMeasurement> signals);
}
Clone this wiki locally