主题
UserAccelerometerReadingEvent 继承自: Event['UserAccelerometer']
Like AccelerometerReadingEvent, this is a discrete reading from an accelerometer and measures the velocity of the device. However, unlike AccelerometerReadingEvent, this event does not include the effects of gravity.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
x | float | required | Linear acceleration along the X axis, gravity removed, in m/s^2. |
y | float | required | Linear acceleration along the Y axis, gravity removed, in m/s^2. |
z | float | required | Linear acceleration along the Z axis, gravity removed, in m/s^2. |
timestamp | datetime | required | Event timestamp. |