values property

List<double> values
final

The length and contents of the {@link #values values} array depends on which {@link android.hardware.Sensor sensor} type is being monitored (see also {@link SensorEvent} for a definition of the coordinate system used).

{@link Sensor#TYPE_SIGNIFICANT_MOTION}

The value field is of length 1. value[0] = 1.0 when the sensor triggers. 1.0 is the only allowed value.

Implementation

final List<double> values;