DeviceAcceleration
>设备加速对象可以提供有关设备沿三个轴(x、y、z)的加速度的信息。
属性
DeviceAcceleration.x只读-
沿 X 轴的加速度量(只读)
DeviceAcceleration.y只读-
沿 Y 轴的加速度量(只读)
DeviceAcceleration.z只读-
沿 Z 轴的加速度量(只读)
说明
| 规范 |
|---|
| Device Orientation and Motion> # devicemotioneventacceleration> |