Re: [sensors] Does SensorReading always need a timeStamp ?

Atleast on Android side, SensorEvent provides timestamps.

``` java
public void onSensorChanged(SensorEvent event) {
     if (event.sensor.getType() == Sensor.TYPE_LIGHT) {
          mLastUpdate.illuminance = event.values[0];
          mLastUpdate.timestamp = event.timestamp;
     }
} 

```


-- 
GitHub Notification of comment by riju
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/105#issuecomment-218385986 using
 your GitHub account

Received on Wednesday, 11 May 2016 07:44:23 UTC