Back to project page BleSensorTag.
The source code is released under:
MIT License
If you think the Android project BleSensorTag listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package sample.ble.sensortag.fusion.sensors; /* w w w .j a v a 2 s. co m*/ public abstract class ISensorManager { public interface SensorEventListener { public void onSensorChanged(int sensorType, float[] values); } protected SensorEventListener listener; public void setListener(SensorEventListener listener) { this.listener = listener; } public abstract ISensor getSensor(int sensorType); public abstract void enable() throws SensorManagerException; public abstract void disable(); public abstract void registerSensor(int sensorType); public abstract void unregisterSensor(int sensorType); public abstract double[] patchSensorFusion(float[] values); }