com.iristick.smartglass.core
Class SensorEvent¶
- java.lang.Object
-
- com.iristick.smartglass.core.SensorEvent
public abstract class SensorEvent extends Object
Field Summary¶
Method Summary¶
Methods inherited from class java.lang.Object¶
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail¶
sensor¶
@NonNull public final Sensor sensor
The sensor that generated this event.
values¶
@NonNull public final float[] values
The data from the sensor.
The length and contents of the values
array depends on which
sensor type is being monitored. See the definitions of the
TYPE_*
constants in the Sensor
class for its interpretation.