timestamp
只读特性在
传感器
interface returns the time stamp of the latest sensor reading.
var timestamp = sensorInstance.timestamp
因为
传感器
is a base class,
timestamp
may only be read from one of its derived classes.
| 规范 | 状态 | 注释 |
|---|---|---|
|
Generic Sensor API
The definition of 'timestamp' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
timestamp
|
Chrome 69 | Edge ≤79 | Firefox ? | IE ? | Opera 56 | Safari ? | WebView Android 69 | Chrome Android 69 | Firefox Android ? | Opera Android 48 | Safari iOS ? | Samsung Internet Android 10.0 |
完整支持
兼容性未知
传感器
activated
hasReading
onactivate
onerror
onreading
timestamp