-
public final class ProximityDataTYPE_PROXIMITY: near/far state derived from
event.values[0] < maximumRange.
-
-
Field Summary
Fields Modifier and Type Field Description private final DoublesensorTimestampprivate final DoublewallClockTimestampprivate final Booleannearprivate final Doubledistance
-
Constructor Summary
Constructors Constructor Description ProximityData(Double sensorTimestamp, Double wallClockTimestamp, Boolean near, Double distance)
-
Method Summary
Modifier and Type Method Description final DoublegetSensorTimestamp()final DoublegetWallClockTimestamp()final BooleangetNear()final DoublegetDistance()Raw distance reading in cm (or sentinel value per device). -
-
Method Detail
-
getSensorTimestamp
final Double getSensorTimestamp()
-
getWallClockTimestamp
final Double getWallClockTimestamp()
-
getDistance
final Double getDistance()
Raw distance reading in cm (or sentinel value per device).
-
-
-
-