Back to project page GlassSensorTest.
The source code is released under:
Apache License
If you think the Android project GlassSensorTest 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 com.prt.sensor; //from w w w .j a va2 s .co m public interface LinearAcceleration { public SensorData getSensorData(); public void register(); public void unregister(); public class SensorData { public final float x, y, z; public final long timestamp; public SensorData(long timestamp, float x, float y, float z) { super(); this.x = x; this.y = y; this.z = z; this.timestamp = timestamp; } } }